custom fonts: better familly names #1361
-
I'm trying to patch a custom build of Iosevka, but I keep failing to get predictable family names for the resulting patched files. The original unpatched files have family set to $ otfinfo --info iosevka-polarised-term-regular.ttf
Family: iosevka polarised term
Subfamily: Regular
Full name: iosevka polarised term
PostScript name: iosevka-polarised-term
Preferred family: iosevka polarised term and as such, I'd expect the patched files to have their family set to the original family with something appended, e.g. $ otfinfo --info IosevkaPolarisedTermNerdFontPlusFontLogosPlusMaterialDesignIcons-Regular.ttf
Family: IosevkaPolarisedTerm Nerd Font
Subfamily: Regular
Full name: IosevkaPolarisedTerm Nerd Font
PostScript name: IosevkaPolarisedTermNFLMDI
Preferred family: IosevkaPolarisedTerm Nerd Font Plus Font Logos Plus Material Design Icons I have no idea where it took Therefore, I would therefore like to ask:
Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Lets see what I can answer 1a) Yes. The original name is always CamelCased and blanks removed. Then the "Nerd Font" stuff is appended. For example Remarks: |
Beta Was this translation helpful? Give feedback.
Lets see what I can answer
1a) Yes. The original name is always CamelCased and blanks removed. Then the "Nerd Font" stuff is appended. For example
JetBrains Mono
becomesJetBrainsMono Nerd Font
.1b) I do not know the reason for this.
2) There is
makegroups -1
which prevents any renaming. But then the original name is kept and nothing is appended.3) Maybe
--name
is what you want?Remarks:
--makegroups 0
is just for people that want to have the years old buggy behaviour, which is deprecated and should not be used. The legacy code is still in and can be selected, but it will be removed somewhen (and then there is no0
anymore).