[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    [OpenJDK 2D-Dev] [14] RFR JDK-8223558: Java apps do not support Myanmar fonts
From:       Alexey Ivanov <alexey.ivanov () oracle ! com>
Date:       2019-09-25 19:38:21
Message-ID: 80d2aa44-4c3e-91b2-4a82-9e6cecf5bb7e () oracle ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic