On Mon, 9 Apr 2007, Jukka K. Korpela wrote

>unless I'm missing something, Windows internally expresses font sizes 
>in points

For the screen Windows internally expresses font sizes in pixels.

<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fon
text_8fp0.asp>
"The CreateFont function creates a logical font with the specified 
characteristics. The logical font can subsequently be selected as the 
font for any device." The height of the font (nHeight) "specifies the 
height, in logical units, of the font's character cell or character".

A logical font is the specification of the font one actually wants. The 
device here is the screen and the logical units for a screen are pixels.

For the CreateFont GDI function:
If the value of nHeight is, say, 20 then one is requesting a font height 
of 20 pixels.
If the value of nHeight is -20 then one is requesting a font size of 20 
pixels.

www.emdpi.com/fontsize.html

-- 
Richard Mason

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to