Join the Webstudio community

Updated last year

Automatically convert fonts to WOFF2

At a glance

The post suggests that it would be interesting if the font importer could automatically convert fonts to the WOFF2 format, similar to how the asset library converts images to WEBP. The comments discuss the potential legal issues with this, as the font license may not allow for such conversion. One community member mentions that there are services that perform this conversion, but the legality is unclear. Another community member suggests semi-automatically optimizing fonts by removing non-Latin characters when the page is in Latin, which can significantly reduce the file size. Overall, the community members agree that font optimization is an important topic with various considerations.

Useful resources
I was thinking here, just as the asset library converts images into WEBP, wouldn't it be interesting for the font importer to automatically convert to woff2?
J
O
4 comments
I think there might be some possible legal issues doing that. The font license would need to allow for conversion.

There are services out there that do this, but I don't know the legality of it. eg. https://everythingfonts.com/ttf-to-woff2
we are also thinking to semi automatically optimize the fonts, e.g. remove non-lative chars when entire page is in latin, cuts 80% of the size down
fonts is a big big topic for optimizations
I don't think there is any issue as long as we don't sell the converted fonts
Add a reply
Sign up and join the conversation on Discord