Replies: 2 comments 6 replies
-
I think you'd be able to leverage the jsDelivr CDN to fetch specific font files and other metadata like FONTLIST.json from NPM and the GitHub repo. I'm also rolling the existing Fontsource API server implementation into our upcoming beta website so maybe you could reference off this branch to see how I fetch all the relevant metadata. Technically you can also use the Fontsource API to query specific metadata too, although it's a teensy bit flaky atm. New upcoming implementation would be clustered and has multiple levels of redundancy using LiteFS. |
Beta Was this translation helpful? Give feedback.
-
@ayuhito Picking up from sub-sets needing combinations (latin + latin-ext). We did just this, build out own font-picker and font-loader based on https://github.com/fontsource/font-files Edit: I figured it out. So only latin/western languages need latin as the base. |
Beta Was this translation helpful? Give feedback.
-
Hi all, I would like to build a performant font-picker, do you think I can leverage fontsource for something like this?
The goal is to have a dropdown that loads a list of fonts that a user can choose from to customize the look and feel of the app, the selected font is then stored in the database and when the app renders I need to display all text in the choosen font.
How would I go about it when I use fontsource?
Beta Was this translation helpful? Give feedback.
All reactions