Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing Ahem font on MacOS causes warnings for each installed font to appear in the log #24643

whimboo opened this issue Jul 17, 2020 · 2 comments


Copy link

@whimboo whimboo commented Jul 17, 2020

When I run the web-platform-tests I can see a dozen of pages of warnings in the console when the Ahem font is getting installed. Entries that exist for each installed font on my system look like:

2020-07-17 07:47:45.516 system_profiler[89311:20944431] CoreText note: Client requested name ".SFNS-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:].

The causing line is that one:

fonts = check_output(['/usr/sbin/system_profiler', '-xml', 'SPFontsDataType'])

That code has been added via PR #10983. @gsnedders or @jgraham any chance we can get rid o that warning output?

Copy link

@gsnedders gsnedders commented Aug 11, 2020

Copy link
Contributor Author

@whimboo whimboo commented May 5, 2021

At some point this got fixed. I don't see it anymore nowadays. Maybe it was a MacOS problem and got fixed with the Big Sur update?

@jgraham jgraham closed this May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants