Nerd Font patcher script for patching fonts in bulk.
- Docker
- Fonts to patch in
./fonts
directory
# Fonts to patch must be in ./fonts. The output fonts will be in ./fonts-patched
# NOTE: the script is not recursive, so fonts in subdirectories will not be patched
docker run --rm -v ./fonts:/in -v ./fonts-patched:/out <docker-image> --careful --complete --progressbars
# Or simply run using existing docker image marklcrns/font-patcher:1.0
./patch
After patching fonts, you can install them using install-fonts-patched
script
(OSX and Linux only).
# After running ./patch, there should be a ./fonts-patched directory where the
# patched fonts are located. Run the following script to install them.
./install-fonts-patched
To rebuild the docker image with fresh dependencies, run:
# Fetch latest version of Nerd Font dependencies
./fetch-resource
# Build docker image
docker build .
# ALTERNATIVE: Tag docker image
docker build -t marklcrns/font-patcher:v1.0 .