apasccon/SearchTextField

System font not accessed through proper APIs causing Times New Roman

bilaalrashid opened this issue · 1 comments

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.

fixed in PR #199