[scaleUpem_test] Also test readint varComposite XML

Easiest place to test it. I know...
This commit is contained in:
Behdad Esfahbod 2023-02-01 18:39:20 -07:00
parent f3dd3fb48f
commit 1d072aa30e

View File

@ -75,6 +75,10 @@ class ScaleUpemTest(unittest.TestCase):
expected_ttx_path = self.get_path("varc-ac00-ac01-500upem.ttx")
self.expect_ttx(font, expected_ttx_path, tables)
# While here just test that we can read the ttx
font = TTFont()
font.importXML(expected_ttx_path)
def test_scale_upem_otf(self):
# Just test that it doesn't crash