[DUG] Large Fonts/DPI
Ross Levis
ross at stationplaylist.com
Mon Aug 7 14:13:09 NZST 2006
Ah, no. MS Sans Serif does not scale. It has only a selection of sizes
available. You need a TrueType font. I changed all my forms to use
Arial to get proper scalling.
Ross.
----- Original Message -----
From: "John Bird" <johnkbird at paradise.net.nz>
To: "'NZ Borland Developers Group - Delphi List'" <delphi at ns3.123.co.nz>
Sent: Monday, August 07, 2006 2:03 PM
Subject: SPAM-LOW: RE: [DUG] Large Fonts/DPI
The problem I am having is quite limited and specific.....font size in a
grid
The form I am having trouble with is optionally being scaled using
scaleby
(works fine)...
the font for the grid is set to a user choice value.
When running on a screen at 120DPI the font size I set (eg 6 or 8 or 10
point) in the grid seems to be either ignored or treated in some bizarre
way
- I get a huge font that I would say looks like 12/14 point or larger...
The font is the default grid font, MS Sans Serif, according to my
research
should scale fine and be on all versions Windows
(eg see http://www.angelfire.com/al4/rcollins/style/fonts.html )
Handy font reference for universally available fonts.
Musings:
Is the MS Sans Serif font the problem? Cos I can change it
programmatically
if that's all it is. From my research it looks
like MS Sans Serif should be a safe font to use....
I will also experiment with what you suggest using scaleby, as I am
already
using this anyway (as you say it does a pretty good job) - but shooting
in
the dark as I don't have such a 120DPI screen here..
As for saying "don't use large fonts" I don't think I can do that as the
PC
was set up by a network provider who set the large fonts to get the
fancy
new big LCD screen to work best with the old PC's version of windows
(windows 98 in most cases) and my software is just one of the programs
being
used.....unless there is no other choice! ;)
John
More information about the Delphi
mailing list