Merge pull request #6 from moyogo/setflag

Only set bit 4 instead
This commit is contained in:
Wei H 2015-03-22 17:34:41 +01:00
commit 14a16d09c6

View File

@ -16,7 +16,7 @@ if 'glyf' in font:
if glyph.isComposite():
glyph.expand(glyf)
for component in glyph.components:
component.flags = 0x4
component.flags |= 0x4
glyph.compact(glyf)
outputTTF = makeOutputFileName(inputTTF, '', extension)
font.save(outputTTF)