[OpenJDK 2D-Dev] Fonts with embedded bitmaps are not always rotated(this bug is NOT fixed in Java8 yet?)
Ayase177
ayase177 at yahoo.co.jp
Fri Apr 24 08:21:07 UTC 2020
Hi
I found the bug "Fonts with embedded bitmaps are not always rotated" in
Java8.
It seems that this bug is fixed for Java11.
(https://bugs.openjdk.java.net/browse/JDK-8204929)
There was the issue on this bug in Java8.
But it is closed as duplicated.
(https://bugs.openjdk.java.net/browse/JDK-8163278) and
(https://bugs.openjdk.java.net/browse/JDK-8225334)
But,now this bug is NOT fixed in Java8 yet.
Rotation does not work properly with double-byte character sets.
Font size 24 over is OK.
Font size 21 under is NG.
I found two ways to workaround it.
1. Use SetRenderingHints and set VALUE_ANTIALIAS_ON
or
2.Use SetRenderingHints and set VALUE_FRACTIONALMETRICS_ON
Why this workaround works?
I would like some advice on whether this workaround is correct.
OS:Windows10 jpn
JRE:AdoptOpenJDK JRE with Hotspot 8.0.232.09(x86)
or
AdoptOpenJDK JRE with Hotspot 8.0.252.09(x86)
--
Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Java-2D-API-f95531.html
More information about the 2d-dev
mailing list