electron / electron/fiddle

CoreText note: Client requested name ".NewYork-Regular"

Open
#586 2 comments 1 reaction 0 assignees View on GitHub
🌿 upstream
Dominant language
TypeScript
Stars
7.8k
Forks
762
Avg merge
15h 27m
Merged PRs (30d)
12

Description

When running Fiddle locally, one encounters the following log messages:

```
2021-03-02 16:33:37.316 Electron Helper (Renderer)[46761:3074059] CoreText note: Client requested name ".NewYork-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:].
2021-03-02 16:33:37.316 Electron Helper (Renderer)[46761:3074059] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2021-03-02 16:33:37.321 Electron Helper (Renderer)[46761:3074059] CoreText note: Client requested name ".NewYork-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:].
```

Apparently, this is due to an upstream issue with Monaco.

ref https://github.com/microsoft/vscode/issues/98597

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.