Skip to content

How to patch Symbols Only Nerd Font #1774

Answered by Finii
lukejanicke asked this question in Q&A
Discussion options

You must be logged in to vote

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 or otf but it is sfd

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…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@lukejanicke
Comment options

@Finii
Comment options

Finii Jan 1, 2025
Collaborator

@Finii
Comment options

Finii Jan 1, 2025
Collaborator

@Finii
Comment options

Finii Jan 1, 2025
Collaborator

@Finii
Comment options

Finii Jan 1, 2025
Collaborator

Answer selected by lukejanicke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants