xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50723] Incorrect text underlines position for some fonts
Date Tue, 15 Feb 2011 09:58:37 GMT

--- Comment #3 from Eugene Markovskyi <eugene.markovskyi@duallab.com> 2011-02-15 04:58:34
EST ---
Created an attachment (id=26660)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26660)
The validation of TrueType descenders.

Some times TrueTupe contains incorrect OS/2 ascender and descender, but hh
metrics is more correct. In this case the OS/2 descender value is positive or
equal to zero. We found a several fonts that have such problem.
In this patch the validation of descender value is added to function
TTFFile.determineAscDesc(). The validation of computed localAscender and
localDescender is added to TTFFile.guessVerticalMetricsFromGlyphBBox.
May such changes could make FOP more robust of font descenders problems?

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message