by simlevesque · 2y ago · 0 comments
It didn't work despite many many tries. I have two woffs of the same font that I bought and I wanna make a variable woff2 with only these two variants.
I couldn't believe that there isn't a clear way to do this.
Here's the youtube video: https://youtu.be/xoQuWARCUWI
For the former, get a random font project like https://gitlab.gnome.org/GNOME/cantarell-fonts/-/blob/master..., install the Python tool fontmake in a venv, and run `fontmake -m Cantarell.desigbspace -o ttf-interpolatable`. In a new subdirectory, you'll find a new Designspace file and TTFs. Switch them out and edit the DS file to make sense. Good luck.
For the latter, you are probably out of luck because static fonts are usually compiled in an outline-incompatible way and your only options are to fix them yourself in fontforge or such or ask the original vendor, who is probably going to laugh at you and demand money.
i don't know if there's a reasonable way to export any standard vector format from metafont; i think there originally wasn't
i think what you mean to say is that the metafont program isn't compatible with truetype or opentype, but i kind of already explained that in the comment you are replying to
It has nothing at all to do with metafont, even if metafont also supports parameterized fonts.
- instantiate two (or more) separate design instances (the extremes)
- export them as an outline --- see METATYPE1
- edit them so that each character in each design instance has the same number of nodes (maybe this isn't a requirement anymore?)
- combine them into a variable font