[issue42122] macOS complains about how fonts are accessed

Ronald Oussoren report at bugs.python.org
Sat Nov 7 04:48:27 EST 2020


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I'm getting a similar warning on a macOS 11 box:

0:06:29 load avg: 1.58 [184/424/1] test_idle
2020-11-07 10:43:37.878 Python[97785:3275468] CoreText note: Client requested name ".applesystemuifontmonospaced", 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:].
2020-11-07 10:43:37.878 Python[97785:3275468] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2020-11-07 10:43:37.881 Python[97785:3275468] CoreText note: Client requested name ".applesystemuifontmonospaced", 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:].


I'm leaving this issue as closed because the font name is not used in CPython's source code. This is an issue with Tcl/Tk.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42122>
_______________________________________


More information about the Python-bugs-list mailing list