[OpenJDK 2D-Dev] RFR: 8214481: freetype path does not disable TrueType hinting with AA+FM hints

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Dec 4 22:47:07 UTC 2019


+1

On 11/28/19 12:49 am, Prasanta Sadhukhan wrote:
> looks good to me.
> 
> Regards
> 
> Prasanta
> 
> On 28-Nov-19 1:30 AM, Phil Race wrote:
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8214481
>> Webrev: http://cr.openjdk.java.net/~prr/8214481/
>>
>> This is a small change  so that when the RenderingHints for
>> text antialiasing is specified together with fractional metrics hints,
>> JDK asks freetype to disable hinting.
>>
>> This is what JDK7 and 8 used to do with the closed code and it appears
>> apps have gotten used to it.
>>
>> It helps animation and makes sense to linearly scale the advances
>> and the images.
>>
>> A regression test would not tell you much here except that the image
>> rendering is probably not the same. There's no way to confirm it is unhinted.
>> And platforms such as Mac don't hint anyway .. so it is a no-op there as well
>> as at many sizes of even hinted fonts.
>>
>> -phil.
>>
>>


-- 
Best regards, Sergey.


More information about the 2d-dev mailing list