Open Bug 1720453 Opened 3 years ago Updated 3 years ago

Use CTFontCreateUIFontForLanguage to access UI fonts on macOS

Categories

(Core :: Layout: Text and Fonts, enhancement)

Unspecified
macOS
enhancement

Tracking

()

People

(Reporter: jfkthame, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

This is the proper way to access "hidden" UI fonts that cannot be looked up by name, and to respect the system's settings for the various UI text styles.

This will enable us to implement the new "generics" like system-ui, ui-serif, ui-monospace, etc. (see https://www.w3.org/TR/css-fonts-4/#generic-font-families) which do not simply map to a public family name we can put in font-list prefs.

Depends on: 1748636
You need to log in before you can comment on or make changes to this bug.