Skip to content

Commit

Permalink
Added TTF to build
Browse files Browse the repository at this point in the history
  • Loading branch information
mishamyrt committed Oct 11, 2019
1 parent 9621bb1 commit 8c2edda
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,17 @@
rm -rf build/
mkdir build/
mkdir build/otf
mkdir build/ttf-not_hinted
mkdir build/ttf
fontforge -lang=py -script src/build.py 2>&1 | fgrep -v 'This contextual rule applies no lookups.'
python3 src/fix-meta.py
python3 src/fix-meta.py
python3 src/convert.py

for input_file in build/ttf-not_hinted/*.ttf
do
output_file=build/ttf/$(basename "$input_file")
ttfautohint -I $input_file $output_file --stem-width-mode nnn --composites
gftools fix-dsig --autofix $output_file
done

rm -rf build/ttf-not_hinted

0 comments on commit 8c2edda

Please sign in to comment.