How to patch Symbols Only Nerd Font #1774
-
I would like to patch my own Symbols Nerd Font (the font file with just the Nerd Font symbols). Is #479 discussed this question but closed after resolving a missing symbol.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
The Symbols Only font starts - like all other patched fonts - with a source font where all the symbols are patched into. Empty source font The directory To patch the Symbols only font you need something like $ fontforge font-patcher --complete --ext ttf --variable-glyph-width src/unpatched-fonts/NerdFontsSymbolsOnly/NerdFontsSymbolsNerdFontBlank.sfd You need to specify the The |
Beta Was this translation helpful? Give feedback.
The Symbols Only font starts - like all other patched fonts - with a source font where all the symbols are patched into.
That source font is empty, so that in the end we have only all the icons in one font.
To give a somehow nice result the empty font needs to have some properties (like glyph size etc) defined, although it is empty.
To make maintenance more easy the font format is not
ttf
orotf
but it issfd
Empty source font
src/unpatched-fonts/NerdFontsSymbolsOnly/NerdFontsSymbolsNerdFontBlank.sfd
The directory
src/glyphs/
contains all the individual icon sets. They are not scaled and possibly unsorted. The raw icons.To patch the Symbols only font you need something like
$ fontforge f…