Optimized the building sequence.

This commit is contained in:
be5invis 2015-12-08 19:15:19 +08:00
parent 633d5bb40e
commit c90b3e6e2c
5 changed files with 15 additions and 9 deletions

View file

@ -5,6 +5,8 @@ import math
source = sys.argv[1]
font = fontforge.open(source)
font.selection.select(("ranges", "unicode", None), 0x20, 0x7e)
font.unlinkReferences()
font.selection.all()
font.removeOverlap()
font.simplify(0.1)