From 8be2a0f97e92db97adee4b22c81600244fca25db Mon Sep 17 00:00:00 2001 From: Denis Jacquerye Date: Sun, 22 Mar 2015 15:07:06 +0000 Subject: [PATCH] Only set bit 4 instead --- sources/setflag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/setflag.py b/sources/setflag.py index 7059102..57f0b1b 100644 --- a/sources/setflag.py +++ b/sources/setflag.py @@ -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)