Join the Webstudio community

Updated 4 weeks ago

Is support for Variable Fonts planned?

Super powerful concept - in principle - but potentially bloating file size with traditional hosting.

That's at least our experience: You're using just one font file, but it with all its variations is much larger than traditional font pairings. In the end, we had to ask the font foundry to remove characters and variations we clearly won't need.

Maybe the web app paradigm opens other options, such as only serving the font varieties used in the project (similar to atomic CSS mindset).
1
B
H
O
6 comments
Variable fonts are supported since beta launch. But yeah we do not strip unused variations from them.
Thank you. Would stripping work? Otherwise 95% of the download remains unused (still the case with our optimized font file).

Implementation: Can one set exposed parameters via font variation settings (weight, italic, decorations) in the GUI?
We need to work on a lot of potential fonts optimizations, for now I recommend using google fonts optimization api and get the subset you actually use on the site, biggest gain you will have is by getting only latin chars

https://developers.google.com/fonts/docs/developer_api#optimization
We should probably create a page in docs explaining the steps for how to optimize the fonts using google api
If this is already available, lease let me know how to proceed. Is there a way to have a global library of fonts and other assets (icons, background images, etc.) in the dashboard, rather than having to add it per individual project? thanks!
currently per project only
Add a reply
Sign up and join the conversation on Discord