Work-Sans/sources/build.sh
2018-11-07 19:05:48 +11:00

22 lines
643 B
Bash
Executable File

### WIP macOS build script for Work Sans VF, based on a build script by Mike LaGuttuta
glyphsSource="WorkSans.glyphs"
VFname="WorkSans-VF"
fontmake -o variable -g $glyphsSource
# mv variable_ttf/${VFname}.ttf ${VFname}.ttf
# rm -rf master_ufo
# rm -rf variable_ttf
# python tools/swapBracketTrick.py ${VFname}.ttf "Upright"
# gftools fix-nonhinting ${VFname}.ttf ${VFname}.ttf
# gftools fix-dsig --autofix ${VFname}.ttf
# gftools fix-gasp ${VFname}.ttf
# python tools/gftools-fix-vf-meta.py ${VFname}.ttf
# ## move font into folder of dist/, with timestamp, then fontbake the font
# python3 tools/distdate-and-fontbake.py ${VFname}.ttf