Replies: 3 comments 3 replies
-
I believe it is not really possible to work with variable fonts in Frederick (@ctrlcctrlv) shows in this video how one can use fontforge to work on VF, with additional tools: But still, a generic way to patch VF needs to take into account a number of thing as there can be not only two but more masters in a VF even if you just have one axis. Which makes that a rather complex project. I mean expanding Nerd Fonts to support VF generically. On the other hand, maybe you just (blindly) patch in the same outline into each master? But to solve your problem: One could just instantiate a static font from your VF with the weight you want. And then patch that static font. That is at least a solution. You then install the weights you need and work with un-variable fonts that have concrete weights. I guess a terminal emulator application can not utilize the real variable in VF anyhow and just allows to use the predefined weights that there are. I could create you a static instance of your desire, if you like and if that is a solution for you. I would just open the VF in |
Beta Was this translation helpful? Give feedback.
-
Hey @Finii! Thanks for you answer, I think I'll just move to another font then :) |
Beta Was this translation helpful? Give feedback.
-
Avoid FontForge entirely for this task. My video is not the best way to do this. What you want to do is define your glyphs as static .glif's (as your symbols should not vary) then use >>> import extractor
>>> import defcon
>>> ufo = defcon.Font()
>>> extractor.extractUFO("/path/to/MyFont.ttf", ufo)
>>> ufo.save("/path/to/MyFont.ufo") Then copy your .glif files into every master, update their contents directories e.g. with MFEKmetadata or by adding the .glif's through a Python library, and then |
Beta Was this translation helpful? Give feedback.
-
I like the variable version of this font because it has
Semibold
option while usual is not.https://github.com/iaolo/iA-Fonts/tree/master/iA%20Writer%20Mono/Variable
However, when I'm patching this font font-patcher gives me an warning:
And after patching and adding this font to the system it only have 1 weight available while has 8 by default.
Any suggestions would be great!
Beta Was this translation helpful? Give feedback.
All reactions