[Bug 1659] [IcedTea7] OpenJDK 7 returns incorrect TrueType font metrics when bold style is set

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Sun Feb 2 09:11:09 PST 2014


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1659

KUBOTA Yuji <kubota.yuji at lab.ntt.co.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kubota.yuji at lab.ntt.co.jp

--- Comment #2 from KUBOTA Yuji <kubota.yuji at lab.ntt.co.jp> ---
I reviewed this patch. This looks good to me.

Bug 1435 miscalculates the *bold* font metrics, i.e., ascent, descent, leading
and max advance. OpenJDK need not calculate the font metrics based on glyph
shape when people make font thick.

OpenJDK calculates the font metrics by sun.font.FreetypeFontScaler which is
based on FreeType. FreeType calculates the font metrics based on Font Face. And
Font Face is *NOT* affected whether the font was thick or not. So the function
should calculate based on Font Face to return accurate metrics.


Thanks,
KUBOTA Yuji

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140202/c4e73d35/attachment.html 


More information about the distro-pkg-dev mailing list