[DUG] Large Fonts/DPI

Rohit Gupta rohit at cfl.co.nz
Mon Aug 7 09:32:13 NZST 2006


PixelsperInch property on the each form.

I gave up in horror in the crudeness of this and I cant be bothered.  I tell 
users to change to small fonts and then go and change the desktop scheme 
to suit.

From:           	"John Bird" <johnkbird at paradise.net.nz>
To:             	"'NZ Borland Developers Group - Delphi List'" <delphi at ns3.123.co.nz>
Subject:        	[DUG] Large Fonts/DPI
Date sent:      	Fri, 4 Aug 2006 19:52:29 +1200
Organization:   	John Bird Consulting
Send reply to:  	johnkbird at paradise.net.nz,
       	NZ Borland Developers Group - Delphi List <delphi at ns3.123.co.nz>
	<mailto:delphi-request at ns3.123.co.nz?subject=unsubscribe>
	<mailto:delphi-request at ns3.123.co.nz?subject=subscribe>

[ Double-click this line for list subscription options ] 

I have come across something I have not seen before - and I do not
understand the issues involved and what I need do do, so please help!

Background:
I have some forms I resize according to users screen resolution, and also
settable options which font sizes are to be used in grids, and also default
row height.  Both specified in points.  Behaves nicely on most screens

-Except-

Where screen has been set to use large fonts, eg 120DPI, eg Windows 98 with
a large resolution LCD screen.  The fonts I have set in the grid then become
enormous, nothing like 8 pt which is the default and unreadable.  So how do
I detect the DPI setting, what does it mean for my app, and how do I adjust
the font size.....I am able to do that, but unsure what to adjust.

Any advice or web sites?

John


_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
Regards

Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email rohit at cfl.co.nz  or  r.gupta at xtra.co.nz
======================================================================




More information about the Delphi mailing list