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

Toshio Nakamura tnakamura at openjdk.java.net
Thu May 5 12:55:19 UTC 2022


On Wed, 4 May 2022 15:34:29 GMT, Toshio Nakamura <tnakamura at openjdk.org> wrote:

>> 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

OK, I'll leave it to you.

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

PR: https://git.openjdk.java.net/jdk/pull/8329



More information about the client-libs-dev mailing list