Browse Source

tidyup dropping mvar table. Remove gftools dependency

Marc Foley 4 years ago
parent
commit
164ff9835c
2 changed files with 3 additions and 2 deletions
  1. 0 1
      requirements.txt
  2. 3 1
      sources/build-min.sh

+ 0 - 1
requirements.txt

@@ -15,4 +15,3 @@ ufo2ft==2.12.0
 ufoLib==2.1.1
 git+https://github.com/daltonmaag/vttLib.git
 statmake
-gftools

+ 3 - 1
sources/build-min.sh

@@ -1,9 +1,11 @@
+set -e
+
 
 #Make VF
 fontmake -m sources/Roboto-min.designspace -o variable --output-path fonts/Roboto[ital,wdth,wght].ttf
 
 # Remove MVAR
-gftools fix-unwanted-tables -t "MVAR" fonts/Roboto[ital,wdth,wght].ttf
+python Scripts/drop_mvar.py fonts/Roboto[ital,wdth,wght].ttf
 
 # Transfer Hints and compile them
 python -m vttLib mergefile sources/vtt-hinting.ttx fonts/Roboto[ital,wdth,wght].ttf