From 1d072aa30e469c099322cb3b229796b451e8d49f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 1 Feb 2023 18:39:20 -0700 Subject: [PATCH] [scaleUpem_test] Also test readint varComposite XML Easiest place to test it. I know... --- Tests/ttLib/scaleUpem_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tests/ttLib/scaleUpem_test.py b/Tests/ttLib/scaleUpem_test.py index 21fb489da..18c7b5584 100644 --- a/Tests/ttLib/scaleUpem_test.py +++ b/Tests/ttLib/scaleUpem_test.py @@ -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