Question: Can we add Nerd Fonts and Ligatures to the Reddit Sans Mono font family using a GitHub Action? Answer:
Suffix | Definition |
---|---|
NF | patched with Nerd-Font glyphs |
LNF | patched with Nerd-Font glyphs and Ligatures |
MonoNF | Monospaced Font patched with Nerd-Font glyphs |
MonoLNF | Monospaced Font patched with Nerd-Font glyphs and Ligatures |
PropoNF | Proportionate (Variable Width) Font patched with Nerd-Font glyphs |
PropoLNF | Proportionate (Variable Width) Font patched with Ligatures and Nerd-Font glyphs |
MonoPL | Monospaced Font patched with PowerLine glyphs |
MonoLPL | Monospaced Font patched with Ligatures and PowerLine glyphs |
Inspired by Scott Hanselman and Alistair Young and, most of all, Adam Cooper, whose effort with the patched Cascadia family (à la Delugia Code) laid the (automation) groundwork for patching Readit Sans Mono.
Adam wrote a blog post with more details about how this works.
Nerd Fonts takes popular programming fonts and adds a bunch of Glyphs. They include all the absolutely indispensable symbols all nerds need in their favorite fonts. Go to their repository or have a look at the overview.
Typically they come in two flavours:
- Powerline (adds the symbols needed to have a basic Powerline and some more.)
- Mono (adds even more Powerline symbols and all other symbols Nerd Fonts has collected.)
Powerline includes these symbols:
Complete includes these symbols additionally:
- Powerline Extra Symbols
- Pomicons
- Font Awesome and Extension
- Power Symbols
- Material Design Icons
- Font Logos
- Octicons
These two font versions are generated from Reddit Sans Mono:
- Readit Sans Mono Powerline Basic powerline glyphs, monospaced font
- Readit Sans Mono All Nerd Fonts glyphs, monospaced font with ALL powerline fonts (including nonstandard)
All of these are available in light, regular, medium, semi-bold, bold and extra bold weights.
Compared with the official nerd-font patched font families:
- Readit Sans Mono is not available in the official repository (at least not yet)
- Added symbol
⚡
(0u26A1) used with some popular Powerline setups (but not 'Complete')
You can download the patched fonts from the Releases page of this
repo and install them as you would any other font. Once installed the font can be referenced as Readit Sans Mono *
.
So if, for example, you want to use it in Windows Terminal you should add the lines
"font": { "face": "Readit Mono NF" //"face": "Readit Mono LNF" (if you are using the version with Ligatures) }
to the corresponding profiles in your settings.json.
I know basically nothing about patching fonts so all contributions are 🦸 welcome.
Note
To reduce the font name length the 'Nerd Font' has been dropped out of the (file) names.