RFR: 8285308: Win: Japanese logical fonts are drawn with wrong size [v2]
Toshio Nakamura
tnakamura at openjdk.java.net
Mon Apr 25 08:15:18 UTC 2022
> Japanese logical fonts are drawn with wrong size since Java 18.
> It's triggered by JEP 400, UTF-8 by Default. `sun.awt.FontConfiguration` (and `sun.awt.windows.WFontConfiguration`) seems to expect the native encoding instead of the default encoding. This patch changes to use native encoding.
>
> Tested: jdk_desktop on Windows, Linux, and macOS
Toshio Nakamura has updated the pull request incrementally with one additional commit since the last revision:
Moved the fix to WFontConfiguration
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8329/files
- new: https://git.openjdk.java.net/jdk/pull/8329/files/b8d737de..2a409cc6
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8329&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8329&range=00-01
Stats: 17 lines in 2 files changed: 10 ins; 3 del; 4 mod
Patch: https://git.openjdk.java.net/jdk/pull/8329.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8329/head:pull/8329
PR: https://git.openjdk.java.net/jdk/pull/8329
More information about the client-libs-dev
mailing list