From f51c9f7f5773e50fc90920e64f181f055cf0abe7 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Tue, 14 Nov 2023 16:12:02 +0000 Subject: [PATCH] Update test .ttx files to match fonttools 4.44 output Mostly the unused VarStore regions get pruned correctly now, after the VarStore gets optimized. --- .../DSv5/MutatorSansVariable_Weight-CFF2.ttx | 25 +---- .../DSv5/MutatorSansVariable_Weight-TTF.ttx | 25 +---- .../MutatorSansVariable_Weight_Width-CFF2.ttx | 100 +----------------- .../MutatorSansVariable_Weight_Width-TTF.ttx | 100 +----------------- .../DSv5/MutatorSansVariable_Width-CFF2.ttx | 26 ++--- .../DSv5/MutatorSansVariable_Width-TTF.ttx | 26 ++--- .../DSv5/MutatorSerifVariable_Width-CFF2.ttx | 26 ++--- .../DSv5/MutatorSerifVariable_Width-TTF.ttx | 26 ++--- tests/data/TestVariableFont-CFF2-cffsubr.ttx | 25 +---- tests/data/TestVariableFont-CFF2-post3.ttx | 25 +---- ...stVariableFont-CFF2-sparse-notdefGlyph.ttx | 18 +--- ...stVariableFont-CFF2-useProductionNames.ttx | 25 +---- tests/data/TestVariableFont-CFF2.ttx | 25 +---- .../TestVariableFont-TTF-not-allQuadratic.ttx | 2 +- tests/data/TestVariableFont-TTF-post3.ttx | 25 +---- ...estVariableFont-TTF-useProductionNames.ttx | 25 +---- tests/data/TestVariableFont-TTF.ttx | 25 +---- 17 files changed, 69 insertions(+), 480 deletions(-) diff --git a/tests/data/DSv5/MutatorSansVariable_Weight-CFF2.ttx b/tests/data/DSv5/MutatorSansVariable_Weight-CFF2.ttx index 30075ab7e..1828bfcd1 100644 --- a/tests/data/DSv5/MutatorSansVariable_Weight-CFF2.ttx +++ b/tests/data/DSv5/MutatorSansVariable_Weight-CFF2.ttx @@ -1,5 +1,5 @@ - + @@ -457,28 +457,7 @@ - - - - - - - - - - - - - - - - - - - - - - + diff --git a/tests/data/DSv5/MutatorSansVariable_Weight-TTF.ttx b/tests/data/DSv5/MutatorSansVariable_Weight-TTF.ttx index 424f48e43..201094863 100644 --- a/tests/data/DSv5/MutatorSansVariable_Weight-TTF.ttx +++ b/tests/data/DSv5/MutatorSansVariable_Weight-TTF.ttx @@ -1,5 +1,5 @@ - + @@ -481,28 +481,7 @@ - - - - - - - - - - - - - - - - - - - - - - + diff --git a/tests/data/DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx b/tests/data/DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx index e621dea5c..56e135792 100644 --- a/tests/data/DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx +++ b/tests/data/DSv5/MutatorSansVariable_Weight_Width-CFF2.ttx @@ -1,5 +1,5 @@ - + @@ -665,103 +665,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/tests/data/DSv5/MutatorSansVariable_Weight_Width-TTF.ttx b/tests/data/DSv5/MutatorSansVariable_Weight_Width-TTF.ttx index 09a64efa3..5d76cbe5d 100644 --- a/tests/data/DSv5/MutatorSansVariable_Weight_Width-TTF.ttx +++ b/tests/data/DSv5/MutatorSansVariable_Weight_Width-TTF.ttx @@ -1,5 +1,5 @@ - + @@ -608,103 +608,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/tests/data/DSv5/MutatorSansVariable_Width-CFF2.ttx b/tests/data/DSv5/MutatorSansVariable_Width-CFF2.ttx index fb87fb57c..9b9763fa4 100644 --- a/tests/data/DSv5/MutatorSansVariable_Width-CFF2.ttx +++ b/tests/data/DSv5/MutatorSansVariable_Width-CFF2.ttx @@ -1,5 +1,5 @@ - + @@ -435,28 +435,24 @@ - - - - - - - - + - + - - - - - + + + + + + + + diff --git a/tests/data/DSv5/MutatorSansVariable_Width-TTF.ttx b/tests/data/DSv5/MutatorSansVariable_Width-TTF.ttx index 6d7354527..d53a9130f 100644 --- a/tests/data/DSv5/MutatorSansVariable_Width-TTF.ttx +++ b/tests/data/DSv5/MutatorSansVariable_Width-TTF.ttx @@ -1,5 +1,5 @@ - + @@ -481,28 +481,24 @@ - - - - - - - - + - + - - - - - + + + + + + + + diff --git a/tests/data/DSv5/MutatorSerifVariable_Width-CFF2.ttx b/tests/data/DSv5/MutatorSerifVariable_Width-CFF2.ttx index d04c93c59..46b96302e 100644 --- a/tests/data/DSv5/MutatorSerifVariable_Width-CFF2.ttx +++ b/tests/data/DSv5/MutatorSerifVariable_Width-CFF2.ttx @@ -1,5 +1,5 @@ - + @@ -344,28 +344,24 @@ - - - - - - - - + - + - - - - - + + + + + + + + diff --git a/tests/data/DSv5/MutatorSerifVariable_Width-TTF.ttx b/tests/data/DSv5/MutatorSerifVariable_Width-TTF.ttx index c911761d3..393aa8f8a 100644 --- a/tests/data/DSv5/MutatorSerifVariable_Width-TTF.ttx +++ b/tests/data/DSv5/MutatorSerifVariable_Width-TTF.ttx @@ -1,5 +1,5 @@ - + @@ -380,28 +380,24 @@ - - - - - - - - + - + - - - - - + + + + + + + + diff --git a/tests/data/TestVariableFont-CFF2-cffsubr.ttx b/tests/data/TestVariableFont-CFF2-cffsubr.ttx index 229119048..4c419daff 100644 --- a/tests/data/TestVariableFont-CFF2-cffsubr.ttx +++ b/tests/data/TestVariableFont-CFF2-cffsubr.ttx @@ -1,5 +1,5 @@ - + @@ -467,28 +467,7 @@ - - - - - - - - - - - - - - - - - - - - - - + diff --git a/tests/data/TestVariableFont-CFF2-post3.ttx b/tests/data/TestVariableFont-CFF2-post3.ttx index c34b0e365..cd04b1786 100644 --- a/tests/data/TestVariableFont-CFF2-post3.ttx +++ b/tests/data/TestVariableFont-CFF2-post3.ttx @@ -1,5 +1,5 @@ - + @@ -444,28 +444,7 @@ - - - - - - - - - - - - - - - - - - - - - - + diff --git a/tests/data/TestVariableFont-CFF2-sparse-notdefGlyph.ttx b/tests/data/TestVariableFont-CFF2-sparse-notdefGlyph.ttx index 5cfd91194..34f117879 100644 --- a/tests/data/TestVariableFont-CFF2-sparse-notdefGlyph.ttx +++ b/tests/data/TestVariableFont-CFF2-sparse-notdefGlyph.ttx @@ -1,5 +1,5 @@ - + @@ -136,7 +136,7 @@ - + @@ -144,20 +144,6 @@ - - - - - - - - - - - - - - diff --git a/tests/data/TestVariableFont-CFF2-useProductionNames.ttx b/tests/data/TestVariableFont-CFF2-useProductionNames.ttx index 5e6b95900..4f408373b 100644 --- a/tests/data/TestVariableFont-CFF2-useProductionNames.ttx +++ b/tests/data/TestVariableFont-CFF2-useProductionNames.ttx @@ -1,5 +1,5 @@ - + @@ -461,28 +461,7 @@ - - - - - - - - - - - - - - - - - - - - - - + diff --git a/tests/data/TestVariableFont-CFF2.ttx b/tests/data/TestVariableFont-CFF2.ttx index 735005abd..9c821cabf 100644 --- a/tests/data/TestVariableFont-CFF2.ttx +++ b/tests/data/TestVariableFont-CFF2.ttx @@ -1,5 +1,5 @@ - + @@ -458,28 +458,7 @@ - - - - - - - - - - - - - - - - - - - - - - + diff --git a/tests/data/TestVariableFont-TTF-not-allQuadratic.ttx b/tests/data/TestVariableFont-TTF-not-allQuadratic.ttx index 7f730bc0e..de78095af 100644 --- a/tests/data/TestVariableFont-TTF-not-allQuadratic.ttx +++ b/tests/data/TestVariableFont-TTF-not-allQuadratic.ttx @@ -1,5 +1,5 @@ - + diff --git a/tests/data/TestVariableFont-TTF-post3.ttx b/tests/data/TestVariableFont-TTF-post3.ttx index eedec8ee2..1ba0a4760 100644 --- a/tests/data/TestVariableFont-TTF-post3.ttx +++ b/tests/data/TestVariableFont-TTF-post3.ttx @@ -1,5 +1,5 @@ - + @@ -447,28 +447,7 @@ - - - - - - - - - - - - - - - - - - - - - - + diff --git a/tests/data/TestVariableFont-TTF-useProductionNames.ttx b/tests/data/TestVariableFont-TTF-useProductionNames.ttx index 1042f99e9..10ecb8e3a 100644 --- a/tests/data/TestVariableFont-TTF-useProductionNames.ttx +++ b/tests/data/TestVariableFont-TTF-useProductionNames.ttx @@ -1,5 +1,5 @@ - + @@ -464,28 +464,7 @@ - - - - - - - - - - - - - - - - - - - - - - + diff --git a/tests/data/TestVariableFont-TTF.ttx b/tests/data/TestVariableFont-TTF.ttx index 4749600e2..dd20b8de5 100644 --- a/tests/data/TestVariableFont-TTF.ttx +++ b/tests/data/TestVariableFont-TTF.ttx @@ -1,5 +1,5 @@ - + @@ -461,28 +461,7 @@ - - - - - - - - - - - - - - - - - - - - - - +