NoahBres / MeepMeep

Path visualization tool for Road Runner
63 stars 34 forks source link

Font Errors on MacOS #5

Open charliegarfield opened 2 years ago

charliegarfield commented 2 years ago

Hi, Roadrunner mostly works fine on my m1 MacBook, but I do get this series of font-related errors:

2021-12-25 10:52:06.209 java[59078:1689964] CoreText note: Client requested name ".NewYork-BoldG1", 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-12-25 10:52:06.209 java[59078:1689964] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2021-12-25 10:52:06.214 java[59078:1689964] CoreText note: Client requested name ".NewYork-BoldG2", 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-12-25 10:52:06.218 java[59078:1689964] CoreText note: Client requested name ".NewYork-BoldG3", 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-12-25 10:52:06.221 java[59078:1689964] CoreText note: Client requested name ".NewYork-BoldG4", 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-12-25 10:52:06.225 java[59078:1689964] CoreText note: Client requested name ".NewYork-BoldItalicG1", 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-12-25 10:52:06.229 java[59078:1689964] CoreText note: Client requested name ".NewYork-BoldItalicG2", 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-12-25 10:52:06.232 java[59078:1689964] CoreText note: Client requested name ".NewYork-BoldItalicG3", 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-12-25 10:52:06.236 java[59078:1689964] CoreText note: Client requested name ".NewYork-BoldItalicG4", 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-12-25 10:52:06.240 java[59078:1689964] CoreText note: Client requested name ".NewYork-RegularG1", 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-12-25 10:52:06.243 java[59078:1689964] CoreText note: Client requested name ".NewYork-RegularG2", 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-12-25 10:52:06.247 java[59078:1689964] CoreText note: Client requested name ".NewYork-RegularG3", 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-12-25 10:52:06.250 java[59078:1689964] CoreText note: Client requested name ".NewYork-RegularG4", 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-12-25 10:52:06.254 java[59078:1689964] CoreText note: Client requested name ".NewYork-RegularItalicG1", 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-12-25 10:52:06.257 java[59078:1689964] CoreText note: Client requested name ".NewYork-RegularItalicG2", 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-12-25 10:52:06.261 java[59078:1689964] CoreText note: Client requested name ".NewYork-RegularItalicG3", 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-12-25 10:52:06.264 java[59078:1689964] CoreText note: Client requested name ".NewYork-RegularItalicG4", 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-12-25 10:52:06.267 java[59078:1689964] CoreText note: Client requested name ".SFArabic-Black", 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-12-25 10:52:06.271 java[59078:1689964] CoreText note: Client requested name ".SFArabic-Bold", 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-12-25 10:52:06.274 java[59078:1689964] CoreText note: Client requested name ".SFArabic-Heavy", 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-12-25 10:52:06.277 java[59078:1689964] CoreText note: Client requested name ".SFArabic-Light", 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-12-25 10:52:06.281 java[59078:1689964] CoreText note: Client requested name ".SFArabic-Medium", 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-12-25 10:52:06.284 java[59078:1689964] CoreText note: Client requested name ".SFArabic-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-12-25 10:52:06.288 java[59078:1689964] CoreText note: Client requested name ".SFArabic-Semibold", 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-12-25 10:52:06.291 java[59078:1689964] CoreText note: Client requested name ".SFArabic-Thin", 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-12-25 10:52:06.295 java[59078:1689964] CoreText note: Client requested name ".SFArabic-Ultralight", 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:].
NoahBres commented 2 years ago

I actually run an M1 MacBook and have been running into this same error. Unfortunately, I have not yet figured out how to go about fixing this—although I have not put too much effort into it. It's thrown by the JVM at the Swing layer so I can't try catch anything in the actual app to suppress this.

This issue seems to suggest that changing the runtime from the default JBR to an alternate patched one, may solve the issue. Although I have yet to confirm this.

charliegarfield commented 2 years ago

Hey, switching the Gradle jdk from the default to AdoptOpenJDK HotSpot actually gets rid of these. Idt you can do anything about that, but it's a thing.

NoahBres commented 2 years ago

I can not do anything on my side. That is entirely local. Perhaps I can provide instructions on switching to a JDK in the README. Thank you!

IsaccBarker commented 3 days ago

Hiya! Rowland Hall Robotics has inherited ownership of MeepMeep, and we'll be doing maintenance from now on. That said, and given that this issue is over a year old, is this still a problem for anybody?