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

can you help me with system_profiler SPFontsDataType on 10.15.7 Catalina please ? #6

Open
denis-bz opened this issue May 18, 2024 · 2 comments

Comments

@denis-bz
Copy link

Dear Mr. Ke Qingrong,
not an issue, but can you please help me ? Can you try

system_profiler -json SPFontsDataType

on a mac with 10.15 ? On my 10.15.7 I get 200+ errors on _names starting "." --

2024-05-17 11:56:24.964 system_profiler[1061:15889] CoreText note: Client requested name ".AlBayanPUA", 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:].
2024-05-17 11:56:24.964 system_profiler[1061:15889] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2024-05-17 11:56:24.968 system_profiler[1061:15889] CoreText note: Client requested name ".AlBayanPUA-Bold", 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:].
2024-05-17 11:56:24.972 system_profiler[1061:15889] CoreText note: Client requested name ".AlNilePUA", 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:].
2024-05-17 11:56:24.975 system_profiler[1061:15889] CoreText note: Client requested name ".AlNilePUA-Bold", 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:].
2024-05-17 11:56:24.978 system_profiler[1061:15889] CoreText note: Client requested name ".AlTarikhPUA", 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:].
2024-05-17 11:56:24.982 system_profiler[1061:15889] CoreText note: Client requested name ".AppleColorEmojiUI", 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:].
2024-05-17 11:56:24.985 system_profiler[1061:15889] CoreText note: Client requested name ".AppleSDGothicNeoI-Regular", 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:].
2024-05-17 11:56:24.988 system_profiler[1061:15889] CoreText note: Client requested name ".AppleSDGothicNeoI-Medium", 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:].
2024-05-17 11:56:24.991 system_profiler[1061:15889] CoreText note: Client requested name ".AppleSDGothicNeoI-Light", 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:].
...

My json from system_profiler SPFontsDataType starts off --

{
  "SPFontsDataType" : [
    {
      "_name" : "SFNSDisplayCondensed-Thin.otf",
      "enabled" : "yes",
      "path" : "/System/Library/Fonts/SFNSDisplayCondensed-Thin.otf",
      "type" : "opentype",
      "typefaces" : [
        {
          "_name" : ".SFNSDisplayCondensed-Thin",
...

which is not like your 10.15.json. How do you create that, from what system files ?
Thanks
-- denis

@keqingrong
Copy link
Owner

I'm sorry, I don't currently have the macOS 10.15 system, so I'm unable to help you. BTW, the font data is sourced from the Apple website Fonts included with macOS Catalina.

@denis-bz
Copy link
Author

Thanks anyway.
The error messages Client requested name ".AlBayanPUA" ... are all for names starting with a ".";
have you ever seen such in your .jsons, for any macos version ?
(They seem to be in the system_profile database but not in the .otf etc. -- just guessing.)

Anyway your link to support.apple com says "... can't be disabled in Font Book" so I guess I'm out of luck.

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