Only set bit 4 instead

This commit is contained in:
Denis Jacquerye 2015-03-22 15:07:06 +00:00
parent 904a0695c2
commit 8be2a0f97e

View File

@ -19,7 +19,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)