freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] Rounding of ascent, descent, and line height


From: Behdad Esfahbod
Subject: [ft-devel] Rounding of ascent, descent, and line height
Date: Thu, 10 Jan 2013 12:38:48 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Hi,

There's a bug against Webkit:

  https://bugs.webkit.org/show_bug.cgi?id=102374

that I think points to a problem in FreeType.  Simply put: for fonts that have
ascent+descent=line-height, this property may not hold anymore after hinting.
 ascent+descent may be off by one pixel compared to line-height, which is not
quite desirable.

I'm not sure what the right fix is.  There's more info, including measurements
from Windows, on the bug.  Does anyone have ideas about how to best address
this?  Or maybe it's not a bug?

Cheers,

-- 
behdad
http://behdad.org/



reply via email to

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