Skip to content

Use local font access api in UI #16

@bschlenk

Description

@bschlenk

https://developer.mozilla.org/en-US/docs/Web/API/Local_Font_Access_API

You can list out the user's local fonts and fetch their blobs. This could be used to make a google/local switcher in the fonts grid. We'd have to generate the previews locally but that should be pretty quick.

Still not sure how this will be presented in the ui, let's look at a few different options. Stylized radio buttons seem like the best idea to me, and they could live next to the search bar. If the device doesn't support the API, then the radio buttons should not be shown.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions