Open weiweihuanghuang opened 1 month ago
It depends on your tools and what exactly you need, but probably the easiest way to make a scaled and interpolated font is to first make an instance from the existing variable font. If you need TTF it works well with fontTools:
fonttools varLib.instancer -o custom-weight.ttf SourceHanSans-VF.ttf wght=456
You can also do OTF with that, but there was recent work on that so I'm not sure if it's 100% working right now. You can also use tx
from the afdko
with something like
tx -ufo -U 456 -o custom_weight.ufo SourceHanSans-VF.otf
That will make a UFO you can then edit however you like. You can scale that in lots of tools or apps or you can use rotatefont
to scale
rotatefont -ufo -matrix 1.5 0 0 1.5 0 0 -o custom_weight_scaled.ufo custom_weight.ufo
Prerequisites
Description
This isn't an issue but a question. What is the best way to edit Source Han Sans. I've been asked to create a scaled and interpolaed version of it to match the body size and weight of a Latin typeface. I can't find this documented anywhere.