DEV Community

Discussion on: What's the most efficient way to load custom fonts on the web

Collapse
 
khrome83 profile image
Zane Milakovic

Can’t believe no one mentioned subfont.

It creates a local copy for you if you host it on google. It rewrites the font tags. It uses a graph to see what you use and prunes the fonts for just the characters needed. And probably 20 more things I didn’t think of.

I run it against a static site after generating. Not sure how to work this into our workflows.

github.com/Munter/subfont