[ttGlyphSet] fix indentation so it works for point pens, too
This commit is contained in:
parent
69966aa5d7
commit
bc19f42c0f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user