Add test case

This commit is contained in:
Just van Rossum 2022-09-20 10:54:09 +02:00
parent d0f4133df0
commit fa4a5f33b4
2 changed files with 12 additions and 0 deletions

Binary file not shown.

View File

@ -112,6 +112,18 @@ class TTGlyphSetTest(object):
("closePath", ()),
],
),
(
"issue2824.ttf",
None,
[
("moveTo", ((309, 180),)),
("qCurveTo", ((274, 151), (187, 136), (104, 166), (74, 201))),
("qCurveTo", ((45, 236), (30, 323), (59, 407), (95, 436))),
("qCurveTo", ((130, 466), (217, 480), (301, 451), (330, 415))),
("qCurveTo", ((360, 380), (374, 293), (345, 210), (309, 180))),
("closePath", ()),
],
),
],
)
def test_glyphset(self, fontfile, location, expected):