diff --git a/Lib/fontTools/ttLib/removeOverlaps.py b/Lib/fontTools/ttLib/removeOverlaps.py index 2d01f69e6..26999572a 100644 --- a/Lib/fontTools/ttLib/removeOverlaps.py +++ b/Lib/fontTools/ttLib/removeOverlaps.py @@ -111,7 +111,11 @@ def removeOverlaps( for glyphName in glyphNames: glyph = glyfTable[glyphName] # decompose composite glyphs only if components overlap each other - if glyph.isComposite() and not componentsOverlap(glyph, glyphSet): + if ( + glyph.numberOfContours == 0 + or glyph.isComposite() + and not componentsOverlap(glyph, glyphSet) + ): continue path = skPathFromGlyph(glyphName, glyphSet)