2023-06-19 17:56:14 +03:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
###
|
|
|
|
# https://github.com/microsoft/cascadia-code
|
|
|
|
# ss01 - handwritten italic
|
2023-06-20 14:26:34 +03:00
|
|
|
# ss02 - lua not equals ~=
|
2023-06-19 17:56:14 +03:00
|
|
|
# ss03 - serbian locale
|
|
|
|
# ss19 - slashed zero 0
|
|
|
|
# ss20 - graphical control characters
|
|
|
|
###
|
2023-06-20 14:26:34 +03:00
|
|
|
# opentype-feature-freezer is necessary, install with pipx or pip
|
|
|
|
# pip install --upgrade opentype-feature-freezer
|
|
|
|
###
|
2023-06-19 17:56:14 +03:00
|
|
|
|
2023-06-20 14:26:34 +03:00
|
|
|
name=VascadiaMod
|
|
|
|
arch=$name.tgz
|
|
|
|
ss=ss01,ss19,ss20
|
2023-06-19 17:56:14 +03:00
|
|
|
|
2023-06-20 14:26:34 +03:00
|
|
|
for font in CascadiaCodePL*.otf; do
|
|
|
|
src=$font
|
|
|
|
dst=${font/CascadiaCodePL/$name}
|
2023-06-19 17:56:14 +03:00
|
|
|
|
2023-06-20 14:26:34 +03:00
|
|
|
pyftfeatfreeze -f $ss -R "Cascadia Code PL/$name" $src $dst
|
|
|
|
done
|
2023-06-19 17:56:14 +03:00
|
|
|
|
2023-06-20 14:26:34 +03:00
|
|
|
eval tar -acvf $arch $name*
|