minor cleanup
This commit is contained in:
parent
b818e1494f
commit
d5db47e09d
@ -21,11 +21,10 @@ class TTGlyphPenTestBase:
|
|||||||
|
|
||||||
glyphSet = font.getGlyphSet()
|
glyphSet = font.getGlyphSet()
|
||||||
glyfTable = font["glyf"]
|
glyfTable = font["glyf"]
|
||||||
pen = self.penClass(font.getGlyphSet())
|
pen = self.penClass(glyphSet)
|
||||||
|
|
||||||
for name in font.getGlyphOrder():
|
for name in font.getGlyphOrder():
|
||||||
oldGlyph = glyphSet[name]
|
getattr(glyphSet[name], self.drawMethod)(pen)
|
||||||
getattr(oldGlyph, self.drawMethod)(pen)
|
|
||||||
oldGlyph = glyfTable[name]
|
oldGlyph = glyfTable[name]
|
||||||
newGlyph = pen.glyph()
|
newGlyph = pen.glyph()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user