More VarComposite compile test

This commit is contained in:
Behdad Esfahbod 2023-02-04 11:53:21 -07:00
parent b63f0141e4
commit 0701bd5161

View File

@ -98,6 +98,13 @@ class ScaleUpemTest(unittest.TestCase):
# Scale our other varComposite font as well; without checking the expected
font = TTFont(self.get_path("varc-6868.ttf"))
scale_upem(font, 500)
ttf = BytesIO()
font.save(ttf)
xml = BytesIO()
font.saveXML(xml)
xml.seek(0)
font = TTFont()
font.importXML(xml)
def test_scale_upem_otf(self):