【发布时间】:2021-10-12 21:20:26
【问题描述】:
我制作了一个 JavaFX 程序,但是当我运行它时,文本编码是错误的。
2021-05-21 20:55:30.060 java[9662:328105] 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-05-21 20:55:30.060 java[9662:328105] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2021-05-21 20:55:30.441 java[9662:328105] 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-05-21 20:55:30.793 java[9662:328141] 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:].
【问题讨论】:
-
您的 Java/JavaFX 版本是什么?
标签: java macos intellij-idea javafx encoding