[ttGlyphSet] fix indentation so it works for point pens, too

This commit is contained in:
Just van Rossum 2023-02-03 16:36:40 +01:00
parent 69966aa5d7
commit bc19f42c0f

View File

@ -201,10 +201,10 @@ class _TTGlyphGlyf(_TTGlyph):
else:
tPen = TransformPen(pen, t)
if isPointPen:
self.glyphSet[comp.glyphName].drawPoints(tPen)
else:
self.glyphSet[comp.glyphName].draw(tPen)
if isPointPen:
self.glyphSet[comp.glyphName].drawPoints(tPen)
else:
self.glyphSet[comp.glyphName].draw(tPen)
def _getGlyphAndOffset(self):
if self.glyphSet.location and self.glyphSet.gvarTable is not None: