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

Yasumasa Suenaga suenaga.yasumasa at lab.ntt.co.jp
Thu Jan 30 16:06:40 PST 2014


Hi Mario,

Thank you for reviewing!

> 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
> alone.

We need patches both Bug1435 and 1659 to fix JDK-8017773 .

Patch of Bug1435 is not merged to OpenJDK (jdk7/8/9) yet.
It has been merged to JDK which is bundled in IcedTea7.

So I think that I want to push patch of Bug1659 to IcedTea7 and IcedTea7-2.4 first.
After that, I will send request to java-2d mailing list to merge them as JDK-8017773.


Thanks,

Yasumasa


P.S. My customer uses RHEL.
      So my goal is that Red Hat releases errata to fix this issue :-)


On 2014/01/31 1:26, Mario Torre wrote:
> 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
> alone.
>
> Cheers,
> Mario
>
>



More information about the distro-pkg-dev mailing list