[OpenJDK 2D-Dev] RFR: 8217731: Font rendering and glyph spacing changed from jdk-8 to jdk-11

Phil Race philip.race at oracle.com
Wed Jun 5 21:11:19 UTC 2019


It *can* make a difference and in fact we have a regression test
that now passes with this fix which tests different rendering modes.
However that is not a direct test for this potential difference.
You cannot say that this change *must* make a difference, it
just does. Sometimes.

-phil.

On 6/5/19 1:40 PM, semyon.sadetsky at oracle.com wrote:
> Can you clarify does the change affects font metrics?
>
> I see that it is a sub-pixel difference for each single glyph but if a 
> long line of text can accumulate a notable difference the reg test can 
> be provided.
>
> --Semyon
>
> On 6/5/19 11:43 AM, Phil Race wrote:
>> bug: https://bugs.openjdk.java.net/browse/JDK-8217731
>> webrev: http://cr.openjdk.java.net/~prr/8217731/
>>
>> This is intended to "help" but cannot completely cure, with
>> some of the rendering differences in JDK11 vs JDK 8.
>> In a typical Swing app on Windows using LCD rendering
>> it manifests as subtle adjustments in the spacing between glyphs.
>> There isn't an easy regression test for this, and it is subjective
>> as to how bad it was before and how much this improves it,
>> even if you were to accept that 8 is "better" .. and not just 
>> different ..
>>
>> -phil.
>



More information about the 2d-dev mailing list