diff options
author | Von Random <von@vdrandom.org> | 2023-06-19 17:56:14 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2023-06-19 17:56:14 +0300 |
commit | 18c36c734085e79a5000cf9bce066820f89aa60b (patch) | |
tree | ab0aaace55f816141202ee15ad42689d47c29d6c | |
parent | a26569827631da2bed796a6714774b2b30d94749 (diff) |
vcascadia-gen: a small script to lock Cascadia otf style sets
-rwxr-xr-x | vcascadia-gen.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vcascadia-gen.sh b/vcascadia-gen.sh new file mode 100755 index 0000000..5cb988c --- /dev/null +++ b/vcascadia-gen.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env zsh +### +# https://github.com/microsoft/cascadia-code +# ss01 - handwritten italic +# ss02 - lua not equal ~= - does not work :( +# ss03 - serbian locale +# ss19 - slashed zero 0 +# ss20 - graphical control characters +### + +arch=vcascadia.tgz + +nsrc=CascadiaCodePL.ttf +ndst=normal.ttf +nss=ss19,ss20 + +isrc=CascadiaCodePLItalic.ttf +idst=italic.ttf +iss=ss01,$nss + +rm -fv $arch $ndst $idst + +pip install --upgrade opentype-feature-freezer +pyftfeatfreeze -f $nss -R 'Cascadia Code PL/vcascadia' $nsrc $ndst +pyftfeatfreeze -f $iss -R 'Cascadia Code PL/vcascadia' $isrc $idst + +tar -acvf $arch $ndst $idst |