WICG / local-font-access

Web API for enumerating fonts on the local system
https://wicg.github.io/local-font-access
Apache License 2.0
75 stars 16 forks source link

Gaps in "Styling with Local Fonts" use-case #52

Closed jakearchibald closed 3 years ago

jakearchibald commented 3 years ago

Advanced creative tools may wish to use CSS to style text using all available local fonts. In this case, getting access to the local font name can allow the user to select from a richer set of choices:

CSS divides fonts up into family weight style * stretch.

It isn't clear how I'd use this API to map the raw font data into the CSS equivalents.