[cubic-glyf] Fix tests
Ouch.
This commit is contained in:
parent
9ec121322b
commit
9983ffe27a
@ -782,6 +782,7 @@ class GlyphCubicTest:
|
||||
glyph.draw(pen, None)
|
||||
|
||||
assert pen.value == [
|
||||
("moveTo", ((0, 0),)),
|
||||
("curveTo", ((0, 0), (1, 0), (1, 0))),
|
||||
("curveTo", ((1, 0), (1, 1), (1, 1))),
|
||||
("curveTo", ((1, 1), (0, 1), (0, 1))),
|
||||
|
@ -574,6 +574,7 @@ class TTGlyphSetTest(object):
|
||||
pen = RecordingPen()
|
||||
glyphset["glyph00004"].draw(pen)
|
||||
assert pen.value == [
|
||||
("moveTo", ((75.5, 181),)),
|
||||
("curveTo", ((103, 181), (125, 158), (125, 131))),
|
||||
("curveTo", ((125, 104), (103, 82), (75.5, 82))),
|
||||
("curveTo", ((48, 82), (26, 104), (26, 131))),
|
||||
|
Loading…
x
Reference in New Issue
Block a user