Greetings,
I did a little test program a while back (very, very quickly, so I might
have gotten it wrong, or used a pair of letters that weren’t kerned or
something stupid) However, that program indicated that the function to get
the text width (TextExtent.cX - wrapped by Delphi’s GetTextWidth) Doesn’t
seem to handle Kerning of True Type Fonts… This leaves me with the
following questions:
-
Does Windows handle Kerning of True Type fonts (there is sure a TON of
stuff in the API about it, if it doesn’t!) -
Does TextExtent handle Kerning?
-
Assuming no to answer 2, how do I make sure that my expectations of what
gets drawn matches what really does? So, for example:
Width of ‘W’ 6
Width of ‘i’ 3
Width of ‘Wi’ 8 < if kerned together 1 pixel…
- Is there a different API to draw text and make it Kern?
Thanks,
-Chert
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com