-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
11, 17, 19
-
linux
ADDITIONAL OS VERSION INFORMATION:
Red Hat Enterprise Linux 8
A DESCRIPTION OF THE PROBLEM:
After upgrade to JDK 11 "java.awt.Graphics2D.drawString​(String, int, int)" method draws the character "金", whose code point is "U+91D1" from CJK Unified Ideograph Unicode block, incorrectly. The drawn character looks as corrupted. The issue is not reproducible with JDK 8 release family.
In the test scenario the produced instance of "java.awt.image.BufferedImage" is stored in BMP file using "javax.imageio.ImageWriter" instance. Also the test scenario requires installation of the additional two fonts: "MS PMincho", "SUPMincho" in the JDK.
EXPECTED VERSUS ACTUAL BEHAVIOR:
EXPECTED - The correct character is shown on the attached image "NormalChar-LinuxOS-JDK8u331-b09-MSPMincho.bmp".
ACTUAL - The corrupted character is shown on the attached image "CorruptedChar-LinuxOS-JDK11.0.15+8-MSPMincho.bmp".
Red Hat Enterprise Linux 8
A DESCRIPTION OF THE PROBLEM:
After upgrade to JDK 11 "java.awt.Graphics2D.drawString​(String, int, int)" method draws the character "金", whose code point is "U+91D1" from CJK Unified Ideograph Unicode block, incorrectly. The drawn character looks as corrupted. The issue is not reproducible with JDK 8 release family.
In the test scenario the produced instance of "java.awt.image.BufferedImage" is stored in BMP file using "javax.imageio.ImageWriter" instance. Also the test scenario requires installation of the additional two fonts: "MS PMincho", "SUPMincho" in the JDK.
EXPECTED VERSUS ACTUAL BEHAVIOR:
EXPECTED - The correct character is shown on the attached image "NormalChar-LinuxOS-JDK8u331-b09-MSPMincho.bmp".
ACTUAL - The corrupted character is shown on the attached image "CorruptedChar-LinuxOS-JDK11.0.15+8-MSPMincho.bmp".
- relates to
-
JDK-8222362 Upgrade to Freetype 2.10.0
- Closed