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
16
pass1-cleanup.py
Normal file
16
pass1-cleanup.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
import fontforge
|
||||
import sys
|
||||
|
||||
source = sys.argv[1]
|
||||
font = fontforge.open(source)
|
||||
font.mergeFeature(sys.argv[2])
|
||||
font.selection.all()
|
||||
font.replaceWithReference(4)
|
||||
font.removeOverlap()
|
||||
font.round()
|
||||
font.removeOverlap()
|
||||
font.unlinkReferences()
|
||||
font.removeOverlap()
|
||||
font.canonicalContours()
|
||||
font.canonicalStart()
|
||||
font.generate(sys.argv[3], flags = ("short-post", "opentype"))
|
Loading…
Add table
Add a link
Reference in a new issue