How ryanoasis/nerd-fonts works
Nerd Fonts aggregates icon glyph sets, patches developer-oriented fonts, and distributes pre-patched font families. The main workflow is a user supplying a font to the FontForge patcher, which adds glyphs from the icon collections and produces a patched font; users can also obtain existing families through the install script or repository collection. The graph preserves glyph metadata generation and font-name processing as internal layers. The README documents the product flow, but the patcher implementation itself was not excerpted, so its internal calls are not shown.
Main entry points: glyphs Icon Glyph Sets · font-patcher Font Patcher · install.sh Install Script · patched-fonts Patched Families
Components 14
Font Usage
- Install Script
install.sh
Patching
- Font Patcher
font-patcher - Patched Font
Glyph Collections
- Icon Glyph Sets
src/glyphs - Glyph Info Tools
bin/scripts/generate-glyph-info-from-set.py - Codicons Generator
src/glyphs/codicons/generate_i_cod.py - Original Glyph Font
bin/scripts/generate-original-source.py - Extra Glyph Font
bin/scripts/generate-extraglyphs.py
Font Catalog
- Patched Families
patched-fonts
Font Processing
- Font Name Parser
bin/scripts/name_parser/FontnameParser.py - Name Parsing Tools
bin/scripts/name_parser/FontnameTools.py
Other components
- Font User
- Input Font
- Font Installer
Connections 13
- Font User → Input Font: provides font
- Font User → Font Patcher: runs patcher
- Input Font → Font Patcher: patches font
- Icon Glyph Sets → Font Patcher: supplies glyphs
- Font Patcher → Patched Font: produces font
- Glyph Info Tools → Icon Glyph Sets: reads glyph font
bin/scripts/generate-glyph-info-from-set.py - Codicons Generator → Icon Glyph Sets: writes glyph metadata
src/glyphs/codicons/generate_i_cod.py - Original Glyph Font → Icon Glyph Sets: generates glyph font
bin/scripts/generate-original-source.py - Extra Glyph Font → Icon Glyph Sets: generates extra glyphs
bin/scripts/generate-extraglyphs.py - Font Name Parser → Name Parsing Tools: uses parsing tools
bin/scripts/name_parser/FontnameParser.py - Font Installer → Install Script: runs installer
- Install Script → Patched Families: installs fonts
- Patched Families → Font User: provides downloads