mirror of
https://github.com/weiweihuanghuang/Work-Sans.git
synced 2024-11-26 09:20:15 +03:00
commit
14a16d09c6
@ -16,7 +16,7 @@ if 'glyf' in font:
|
|||||||
if glyph.isComposite():
|
if glyph.isComposite():
|
||||||
glyph.expand(glyf)
|
glyph.expand(glyf)
|
||||||
for component in glyph.components:
|
for component in glyph.components:
|
||||||
component.flags = 0x4
|
component.flags |= 0x4
|
||||||
glyph.compact(glyf)
|
glyph.compact(glyf)
|
||||||
outputTTF = makeOutputFileName(inputTTF, '', extension)
|
outputTTF = makeOutputFileName(inputTTF, '', extension)
|
||||||
font.save(outputTTF)
|
font.save(outputTTF)
|
||||||
|
Loading…
Reference in New Issue
Block a user