Skip to content

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

@bilaalrashid

Description

@bilaalrashid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions