freetype
[Top][All Lists]
Advanced

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

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


From: Alexei Podtelezhnikov
Subject: Re: [ft] [ft-devel] heads-up: TrueType height computation has been fixed
Date: Wed, 23 Jan 2013 12:03:16 -0500

On Wed, Jan 23, 2013 at 11:10 AM, David Turner <address@hidden> wrote:
> Unless I'm missing something (which is entirely possible, and I've not
> looked at the patch details yet).
>
> If that so, maybe add some code to deal with this, e.g.:
>
>   if (height_26.6 == ascender_26.6 - descender_26.6) {
>     height_int = ascender_int - descender_int;
>   } else {
>     // something else, to be defined :-)
>   }

>> to be in sync with Windows.

Windows does that *regardless* of any condition!

Original metrics do not add up:
https://bugs.webkit.org/show_bug.cgi?id=102374#c29
Rounded metrics do: https://bugs.webkit.org/show_bug.cgi?id=102374#c31



reply via email to

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