fix duble
This commit is contained in:
BIN
aifont.ttf
BIN
aifont.ttf
Binary file not shown.
BIN
aifont.woff2
BIN
aifont.woff2
Binary file not shown.
@@ -56,7 +56,10 @@ for g in ['a', 'i']:
|
|||||||
target_w = glyph.width
|
target_w = glyph.width
|
||||||
glyph.clear()
|
glyph.clear()
|
||||||
glyph.importOutlines(svg)
|
glyph.importOutlines(svg)
|
||||||
|
glyph.removeOverlap()
|
||||||
glyph.correctDirection()
|
glyph.correctDirection()
|
||||||
|
glyph.simplify()
|
||||||
|
glyph.round()
|
||||||
|
|
||||||
# Get bounding box and center horizontally
|
# Get bounding box and center horizontally
|
||||||
bb = glyph.boundingBox()
|
bb = glyph.boundingBox()
|
||||||
|
|||||||
Reference in New Issue
Block a user