canonical / Ubuntu-Sans-Mono-fonts

Other
69 stars 6 forks source link

Generate custom styles directly from the variable #15

Open Case3y opened 1 year ago

Case3y commented 1 year ago

I like Ubuntu Mono’s original weight. So I generate custom styles directly from the variable fonts using fonttools varLib.instancer UbuntuMono[wght].ttf wght=473 mentioned in the readme.

But the generated font was having a bit of a problem with my Windows terminal. My Chinese font has become thinner.

屏幕截图 2023-10-01 140357

I found another way: fonttools varLib.mutator UbuntuMono[wght].ttf wght=473 It is a way to convert a variable font to a static font. My Chinese font is still the original weight (Regular). So I think this is a better way

屏幕截图 2023-10-01 140846