Optimized build procedure: Now we have better (and smaller) outlines.

This commit is contained in:
be5invis 2015-08-09 04:30:26 +08:00
parent ec75ce7f6c
commit ea83169de0
4 changed files with 36 additions and 36 deletions

9
pass2-finalize.py Normal file
View file

@ -0,0 +1,9 @@
import fontforge
import sys
source = sys.argv[1]
font = fontforge.open(source)
font.selection.all()
font.replaceWithReference(4)
font.simplify(4, ("smoothcurves", "removesingletonpoints", "setstarttoextremum"), 0.2)
font.generate(sys.argv[2], flags = ("short-post", "opentype"))