Work-Sans/sources/tools/old/post-build.sh
weiweihuanghuang 83c2a6874c Update Build
2018-11-15 12:54:13 +08:00

14 lines
348 B
Bash

#!/bin/bash
set -e
VFname="WorkSans-VF"
VFItalicname="WorkSans-Italic-VF"
# Fix VF Metadata
echo "\tFixing VF Family Metadata..."
python tools/gftools-fix-vf-meta.py ${VFname}.ttf ${VFItalicname}.ttf
# Clean up and rename VF
rm ${VFname}.ttf
rm ${VFItalicname}.ttf
mv ${VFname}.ttf.fix ${VFname}.ttf
mv ${VFItalicname}.ttf.fix ${VFItalicname}.ttf