[OpenJDK 2D-Dev] [14] RFR JDK-8223558: Java apps do not support Myanmar fonts

Alexey Ivanov alexey.ivanov at oracle.com
Thu Oct 3 15:57:45 UTC 2019


Any volunteers to review?

On 25/09/2019 20:38, Alexey Ivanov wrote:
> Hello,
>
> Please review the fix for JDK 14:
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8223558
> webrev: http://cr.openjdk.java.net/~aivanov/8223558/webrev.00/
>
> Problem description:
> Java renders Myanmar script incorrectly. Some glyphs are not combined, 
> which makes text unreadable.
> For example, this glyph ကြ is made of two characters U+1000 and 
> U+103C. Java renders two separate glyphs.
>
> Workaround:
> Enable ligatures or kerning on the font to get the correct rendering.
>
> The fix:
> Enables complex layout for base Myanmar characters (U+1000-U+109F).
> Provides fallback font on Windows.
> On Linux, fontconfig handles the fallback.
>
> I ran awt/font tests, no new failures found.
>
-- 
Regards,
Alexey


More information about the 2d-dev mailing list