.. | ||
ttx | ||
build.py | ||
generate-nerdfont.bat | ||
generate-nerdfont.sh | ||
generate-ttx.bat | ||
mono.fea | ||
pragmatapro.fea | ||
README.md | ||
requirements.txt |
Build Steps
1. Clone the repo
git clone https://github.com/subframe7536/Maple-font --depth 1
cd ./Maple-font/source
2. Install required Python package
pip install -r requirements.txt
Install FontForge (optional)
to patch Nerd Font, please make sure FontForge and its Python module are installed
3. Modify build config (optional)
if you want to custom build the font, like freeze some font features, you can modify the config option in build.py
4. Run Build Script
python build.py
if you want to patch Nerd Font version, the script will auto download Font Patcher from Github Release, or you can manully download from https://github.com/ryanoasis/nerd-fonts/releases/download/latest/FontPatcher.zip and put it to <project root>/source
dir
5. Result
you can find the completed fonts and build config in <project root>/output
Build with Chinese characters
see doc