RFR: 8190907: Windows 10 default Korean Font Malgun Gothic available not used by GUI elements even though available without Korean Language Pack [v4]

Phil Race prr at openjdk.java.net
Thu Mar 17 16:38:36 UTC 2022


On Wed, 16 Mar 2022 06:02:28 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Malgun_Gothic(https://en.wikipedia.org/wiki/Malgun_Gothic) had replaced Gulim korean font so it needs to be updated to show korean fonts
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   korean fallback added

It seems that the test program is not using \uXXXX unicode escapes but has the characters in some encoding that needs to be expected by javac.
So the first image is from a javac that was using default (eg US) locale and the latter was using a locale that can correctly interpret those.

I don't know why the two are different for you - probably it is a shell environment difference - but I recommend you always use \uXXXX in tests to avoid exactly this issue.

Now looking at the 2nd image it shows that there are differences (although again it would be nice if each line were labelled - eg "Dialog Bold Italic : " ...) and so something is not working as intended.

I don't know what the problem is, so it will require some extensive debugging.

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

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



More information about the client-libs-dev mailing list