vcascadia-gen: control everything with vars

This commit is contained in:
Von Random 2024-12-04 11:54:16 +02:00
parent 0d92cd4ac5
commit 20583cbeeb

View file

@ -8,18 +8,20 @@
# ss20 - graphical control characters # ss20 - graphical control characters
### ###
# opentype-feature-freezer is necessary, install with pipx or pip # opentype-feature-freezer is necessary, install with pipx or pip
# pip install --upgrade opentype-feature-freezer # pipx install --upgrade opentype-feature-freezer
### ###
title='Cascadia Mono NF'
orig=CascadiaMonoNF
name=VascadiaMod name=VascadiaMod
arch=$name.tgz arch=$name.tgz
ss=ss01,ss19,ss20 ss=ss01,ss19,ss20
for font in CascadiaMonoNF*.otf; do for font in $orig*.otf; do
src=$font src=$font
dst=${font/CascadiaMonoNF/$name} dst=${font/$orig/$name}
pyftfeatfreeze -f $ss -R "Cascadia Code PL/$name" $src $dst pyftfeatfreeze -f $ss -R "$title/$name" $src $dst
done done
eval tar -acvf $arch $name* eval tar -acvf $arch $name*