freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] [ft] heads-up: TrueType height computation has been fixed


From: Werner LEMBERG
Subject: Re: [ft-devel] [ft] heads-up: TrueType height computation has been fixed
Date: Thu, 24 Jan 2013 18:21:23 +0100 (CET)

>> This is all moot.  It was my error mixing up the glyph height with
>> the `height' value in FT_Face which actually is the
>> baseline-to-baseline distance.
> 
> Reading between your lines: if some browser wants to get line
> spacing identical to Windows, it is not Freetype's business. We do
> not do text layouts. :)

Not at all: FreeType's `height' name is simply unfortunate.  If you
use `ascender - descender' you get *exactly* what the Windows API
returns as `fsHeight' (i.e., the global glyph height), as far as I can
see.


    Werner



reply via email to

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