diff --git a/Tests/varLib/instancer/data/CFF2Instancer-VF.ttx b/Tests/varLib/instancer/data/CFF2Instancer-VF-1.ttx similarity index 100% rename from Tests/varLib/instancer/data/CFF2Instancer-VF.ttx rename to Tests/varLib/instancer/data/CFF2Instancer-VF-1.ttx diff --git a/Tests/varLib/instancer/data/test_results/CFF2Instancer-VF-1-instance-400.ttx b/Tests/varLib/instancer/data/test_results/CFF2Instancer-VF-1-instance-400.ttx new file mode 100644 index 000000000..fde30c8d5 --- /dev/null +++ b/Tests/varLib/instancer/data/test_results/CFF2Instancer-VF-1-instance-400.ttx @@ -0,0 +1,497 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + © 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. + + + Noto Sans SC + + + Regular + + + 2.004;ADBO;NotoSansSC-Thin;ADOBE + + + Noto Sans SC + + + Version 2.004;hotconv 1.0.118;makeotfexe 2.5.65603 + + + NotoSansSC-Thin + + + Regular + + + Regular + + + Weight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 46 245 rmoveto + 256 70 -256 hlineto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/instancer/instancer_test.py b/Tests/varLib/instancer/instancer_test.py index 428166a90..ca7ea93f0 100644 --- a/Tests/varLib/instancer/instancer_test.py +++ b/Tests/varLib/instancer/instancer_test.py @@ -96,7 +96,7 @@ class InstantiateCFF2Test(object): def test_pin_and_drop_axis(self, varfont, location, expected): varfont = ttLib.TTFont() - varfont.importXML(os.path.join(TESTDATA, "CFF2Instancer-VF.ttx")) + varfont.importXML(os.path.join(TESTDATA, "CFF2Instancer-VF-1.ttx")) location = instancer.NormalizedAxisLimits(location) @@ -109,6 +109,7 @@ class InstantiateCFF2Test(object): @pytest.mark.parametrize( "source_ttx, expected_ttx", [ + ("CFF2Instancer-VF-1.ttx", "CFF2Instancer-VF-1-instance-400.ttx"), ("CFF2Instancer-VF-2.ttx", "CFF2Instancer-VF-2-instance-400.ttx"), ("CFF2Instancer-VF-3.ttx", "CFF2Instancer-VF-3-instance-400.ttx"), ],