Regular fonts are patched using font-patcher
script from NERD FONTS
and fontforge
from FONT FORGE. Function of this script is to automate
downloading and installing packages, python modules, programs and scripts
necessary for font patching.
This is zsh script, thus zsh shell must be present on the system.
Clone this repo. In repo there is script patch-fonts
which does all the
heavy lifting.
If you run ./patch-fonts
script available commands will be shown:
usage:
patch-fonts COMMAND
commands:
patch - patch a font
install - install already patched font
restore - restore previously backed up fonts
setup - install neccesary programs/modules (pkg, python ...)
check - check if all neccesary programs/modules are installed
clean - remove packages which were installed by this script
note:
command names can be abbrevated: inst, pa, ...
By running above commands you can:
- install, check for presence or uninstall necessary packages, modules and scripts
- patch regular font
- install patched font onto the system
- restore previously installed fonts
Below are shown examples of commands execution.