Convert TTF to WOFF2 and subset fonts for faster pages
Convert TTF and OTF fonts to WOFF2 and subset them to the characters you use, often cutting a text font to 15–30 KB. Formats, @font-face, unicode-range and the licence check.
Tag
2 articles
Convert TTF and OTF fonts to WOFF2 and subset them to the characters you use, often cutting a text font to 15–30 KB. Formats, @font-face, unicode-range and the licence check.
One variable font file can replace a whole family. Here is how the weight, width, slant and optical size axes map to CSS, how to declare them in @font-face, and how to set custom axes without the inheritance trap.
Enjoying Refract Tools? ☕️
Refract is a personal project built to make design and development a little easier, with practical, intuitive tools that help you work smarter, without AI doing the work for you.
If you find the tools useful, consider buying me a coffee. Every bit of support helps me keep building, improving, and sharing more free tools with the community.
Thanks for being here! ❤️
Buy me a coffee