static-to-variable

Turn static fonts into one variable font.

Upload thin, regular, and bold. Get one file with every weight in between.

Variable fonts that didn't exist

Google Fonts doesn't have these

Font
Weight
400
One file, every weight in between.

How it works

Normally you can't just merge the files because they don't line up. This handles that, and skips anything it can't do cleanly instead of breaking it.

Lines the files up
Every weight is redrawn the same way, so they blend smoothly.
Checks every letter
Each weight has to match the original, and the in-betweens can't go wonky.
Skips what it can't
Anything it can't merge cleanly stays fixed at one weight, and you get a list.

Try it on your fonts

Run it in a folder with your font files. It finds them and does the rest.

View on GitHub
npm install -g static-to-variable
static-to-variable init
static-to-variable build