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

System font not accessed through proper APIs causing Times New Roman #195

Open
bilaalrashid opened this issue Jul 16, 2020 · 1 comment
Open

Comments

@bilaalrashid
Copy link

Times New Roman is used as the font for the subtitle, rather than the default San Francisco font. The font used for the main title is a sans-serif font, although it does not look like San Francisco.

Screenshot 2020-07-16 at 20 03 51

The following error is displayed in the console.

CoreText note: Client requested name ".SFUI-Regular", it will get TimesNewRomanPSMT rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[UIFont systemFontOfSize:].
CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
CoreText note: Client requested name ".SFUI-Semibold", it will get TimesNewRomanPSMT rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[UIFont systemFontOfSize:].

Occurring on both Simulator and iPhone X both running iOS 13.4.

@schmidt9
Copy link

fixed in PR #199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants