[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Button label text garbled - OS/X Catalina
From:       Michael Hall <mik3hall () gmail ! com>
Date:       2021-06-30 23:44:50
Message-ID: 11EA5A5D-A34C-49CB-9F0D-7ECC6872788D () gmail ! com
[Download RAW message or body]

I was looking at some JavaFX introductions. HelloWorld type things. In this case \
literally… https://docs.oracle.com/javafx/2/get_started/hello_world.htm

The button labels show garbled text. Googling shows a number of similar examples. 
I found one issue indicating something very similar showing as resolved.
https://bugs.openjdk.java.net/browse/JDK-8234916

If you try to setFont you get about the same messages like…

java -cp . --module-path ~/Documents/javafx-sdk-11.0-2.2/lib --add-modules \
javafx.base,javafx.controls helloworld.HelloWorld 2021-06-30 17:52:22.790 \
java[4142:207281] CoreText note: Client requested name ".SFNS-Regular", it will get \
Times-Roman rather than the intended font. All system UI font access should be \
through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont \
systemFontOfSize:]. 2021-06-30 17:52:22.790 java[4142:207281] CoreText note: Set a \
breakpoint on CTFontLogSystemFontNameRequest to debug. 2021-06-30 17:52:22.792 \
java[4142:207281] CoreText note: Client requested name ".SFNS-Regular", it will get \
Times-Roman rather than the intended font. All system UI font access should be \
through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont \
systemFontOfSize:]. 2021-06-30 17:52:22.896 java[4142:207311] CoreText note: Client \
requested name ".SFNS-Regular", it will get Times-Roman rather than the intended \
font. All system UI font access should be through proper APIs such as \
CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:]. Hello World!

Should I open an issue on this someplace or is it still open somewhere? 
Or is there something I should do different to avoid it? 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic