RFC: Add a list of all fonts as JSON file to the frontend #21
Closed
MichaelKreil
started this conversation in
Ideas
Replies: 2 comments
-
looks good to me |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://github.com/versatiles-org/versatiles-fonts/releases/tag/v1.1.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We should add a list of the available fonts to the frontend. Not only for Maputnik, but also for our own frontend tools.
For example, let's use a subset of "Fira Sans" and generate glyphs for:
The folder
/assets/fonts/
would look like this:The default
fonts.json
used by Maputnik would just be an array of these 8 folder names:But for our own frontends, we can generate an additional JSON
font_families.json
with more information. I suggest this format:What do you think?
Beta Was this translation helpful? Give feedback.
All reactions