RFR: 8285308: Win: Japanese logical fonts are drawn with wrong size [v3]

Toshio Nakamura tnakamura at openjdk.java.net
Wed May 4 15:34:29 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:

  locale base fix

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8329/files
  - new: https://git.openjdk.java.net/jdk/pull/8329/files/2a409cc6..4297e21f

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8329&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8329&range=01-02

  Stats: 40 lines in 2 files changed: 1 ins; 19 del; 20 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