freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype] tmAscent in Windows fontMetrics


From: David Turner
Subject: Re: [Freetype] tmAscent in Windows fontMetrics
Date: Tue, 25 Feb 2003 21:47:32 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210

Hello Roman,

Roman Bednarek wrote:
Hi.
  In Windows version of my appplication I am using the following value
textmetric.tmAscent+textmetric.tmInternalLeading+textmetric.tmExternalLeading.
I have to be compatible in freetype version, but I cannot get the same
value from FT_Face fields. I am adding an arbitrary(guess) value to
face->ascender which is not really good solution.
  Is there a good way to get exactly the same value using freetype?

I don't think there is a good way to do that. However, If you're nice enough
to write a small program that is capable of computing both the Windows and
FreeType values for these values, I'd be happy to tweak it to hell in
order to try to find the correct algorithm.

Cheers,

- David Turner
- The FreeType Project  (www.freetype.org)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]