Balanced a lot of glyphs, especially o-shaped. Also reduced file size massively.
This commit is contained in:
parent
f64a11c4e3
commit
af9ba2e094
15 changed files with 125 additions and 213 deletions
|
@ -3,7 +3,11 @@ 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.removeOverlap()
|
||||
font.em = 1024
|
||||
font.simplify(1)
|
||||
font.canonicalContours()
|
||||
font.canonicalStart()
|
||||
font.generate(sys.argv[2], flags = ("short-post", "opentype"))
|
Loading…
Add table
Add a link
Reference in a new issue