San Francisco, California

Another use case for variable fonts

There’s a lot of nifty things you can do with variable fonts. You can make small design adjustments, or you can get a bunch of performance benefits...kinda. If you load a giant variable font with a ton of different axes then your users are going to have a bad time. But! Loading one font like Newzald.woff2 is likely going to be faster than loading Newzald-bold.woff2, Newzald-italic.woff2, Newzald-regular.woff2, etc. Lots of folks like Mandy Michael have written a ton of stuff about this before so I won’t retread those thoughts.

But what if we could combine fonts together easily? So say we have a display font (Display.woff2) and it has one weight we want to use for our headings. Then we have a body text font (Body.woff2) and it has multiple styles—italic, bold, regular, etc. Instead of loading two separate fonts here it would be great to combine two very different type families into a single file (Project.woff2) (and I’m imagining an interface similar to ImageOptim here for some reason).

I mentioned this not so long ago and Nick Sherman replied that OpenType Collections are designed for just this very thing.

Nifty! I’ll be sure to dig into that at one point or another.

Reply via email Random post