RFR: 8263140: Japanese chars garble in console window in HSDB [v2]
Phil Race
prr at openjdk.java.net
Mon Mar 8 20:03:10 UTC 2021
On Mon, 8 Mar 2021 19:51:40 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> There are two additional locations that use `lookupFont("Courier")`. Any reason not to replace them also? If you do replace them, then I think you can get rid of `lookupFont`.
I think you really, really should get rid that ! Courier is a Postscript font that you will be hard pressed to find on modern systems. On Windows we might still have the "special case" code that remaps it to Courier New. Linux probably doesn't have it because it is a proprietary name which is why JDK used it only in 1.0 and stopped in 1.1 some 25 (!) years ago. And using a logical font you will get much better code point support
-------------
PR: https://git.openjdk.java.net/jdk/pull/2862
More information about the serviceability-dev
mailing list