Bug 1435: [IcedTea7] OpenJDK 7 returns incorrect TrueType font metrics

Mario Torre neugens at redhat.com
Thu Jan 30 08:26:27 PST 2014

On Thu, 2014-01-30 at 15:03 +0900, Yasumasa Suenaga wrote:
> Hi all,
> My customer encountered this issue.
> Status of this issue is resolved. However, if bold style is set,
> this issue is appeared yet.
> I read source code of "freetype-2.5.0-4.fc20" .
> Bold style should not affect FontFace. However, current implementation
> of OpenJDK affects it to Font Glyph. Thus value of Ascent/Descent is
> incorrect.
> I've made patch for this issue as "fontScaler.patch" which is attached
> on this email. Could you review this ?
> This issue is also booked in JBS as JDK-8017773: OpenJDK7 returns incorrect
> TrueType font metrics . I think my patch will be fixed this issue too.

Hello Yasumasa-San,

This is a very tricky area and brings back lots of memories :)

The fix itself looks good to me, although I would like this to be
discussed on the java-2d mailing list before it being pushed to IcedTea


More information about the distro-pkg-dev mailing list