This is a hackish wrapper for the NerdFont patcher script. I don't know if there is an official way of doing this so... Plus it now has multiprocessing support to speed up font patching.
It's dumb, but it works! on Linux! and WSL for windows 10 "¯\(ツ)/¯"
A big hello and Thanks to the guys at Nerdfonts.com. They've done a wonderful job so thanks, guys.
- Fontforge (for patching the fonts)
- configparser
- Internet connection (for obvious reasons)
- curl (to download font glyphs)
- Install fontforge:
sudo apt-get install software-properties-common sudo add-apt-repository ppa:fontforge/fontforge -y sudo apt-get update sudo apt-get install fontforge
- Install other dependencies:
It will download the font-glyphs and patcher script from the nerdfonts repo.
sudo apt-get install python3-fontforge python-configparser
- Clone and cd into this repo
git clone https://github.com/bexter989/nerdfont-patcher.git; cd nerdfont-patcher
- Run the script:
Patched fonts are generated in the "Patched" folder with the specified font name.
python3 ./nerdfont-patcher.py {font dir name} {font name}
- Download and extract any monospace font (e.g., VictorMono) into the cloned folder (in this case, the
TTF
dir). - Run the script as follows:
python3 ./nerdfont-patcher.py ./TTF VictorMono
Watch a 3-minute clip on Youtube