854 B
854 B
Font Forge Scripts
Direnv File
use guix python python-wrapper fontforge curl unzip
Nerd Font Patching
As preparation, we need the font patcher:
tmp=$(mktemp)
trap "rm -rf '$tmp'" exit
curl -L https://github.com/ryanoasis/nerd-fonts/releases/latest/download/FontPatcher.zip > $tmp
unzip $tmp
Patching Libertinus
curl -L https://github.com/alerque/libertinus/releases/download/v7.040/Libertinus-7.040.tar.xz | tar xJ
ln -sf Libertinus-7.040/static/OTF/* .
find . -name 'LibertinusSerif*.otf' -print0 | xargs -0 -IX -- direnv exec $PWD/font-patcher X -c --variable-width-glyphs --no-progressbars