Optimized build procedure: Now we have better (and smaller) outlines.
This commit is contained in:
parent
ec75ce7f6c
commit
ea83169de0
4 changed files with 36 additions and 36 deletions
9
pass2-finalize.py
Normal file
9
pass2-finalize.py
Normal 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"))
|
Loading…
Add table
Add a link
Reference in a new issue