On Mon, 8 Mar 2021 19:51:40 GMT, Chris Plummer <[email protected]> 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