diff options
Diffstat (limited to 'Tests/feaLib/data/STAT_bad.fea')
-rw-r--r-- | Tests/feaLib/data/STAT_bad.fea | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/Tests/feaLib/data/STAT_bad.fea b/Tests/feaLib/data/STAT_bad.fea new file mode 100644 index 00000000..8ec887f0 --- /dev/null +++ b/Tests/feaLib/data/STAT_bad.fea @@ -0,0 +1,96 @@ +# bad fea file: Testing DesignAxis tag with incorrect label +table name { + nameid 25 "TestFont"; +} name; + + +table STAT { + + ElidedFallbackName { name "Roman"; }; + + DesignAxis opsz 0 { badtag "Optical Size"; }; #'badtag' instead of 'name' is incorrect + DesignAxis wdth 1 { name "Width"; }; + DesignAxis wght 2 { name "Weight"; }; + DesignAxis ital 3 { name "Italic"; }; + + AxisValue { + location opsz 8 5 9; + location wdth 300 350 450; + name "Caption"; + }; + + AxisValue { + location opsz 11 9 12; + name "Text"; + flag OlderSiblingFontAttribute ElidableAxisValueName ; + }; + + AxisValue { + location opsz 16.7 12 24; + name "Subhead"; + }; + + AxisValue { + location opsz 72 24 72; + name "Display"; + }; + + AxisValue { + location wdth 80 80 89; + name "Condensed"; + }; + + AxisValue { + location wdth 90 90 96; + name "Semicondensed"; + }; + + AxisValue { + location wdth 100 97 101; + name "Normal"; + flag ElidableAxisValueName; + }; + + AxisValue { + location wdth 125 102 125; + name "Extended"; + }; + + AxisValue { + location wght 300 300 349; + name "Light"; + }; + + AxisValue { + location wght 400 350 449; + name "Regular"; + flag ElidableAxisValueName; + }; + + AxisValue { + location wght 500 450 549; + name "Medium"; + }; + + AxisValue { + location wght 600 550 649; + name "Semibold"; + }; + + AxisValue { + location wght 700 650 749; + name "Bold"; + }; + + AxisValue { + location wght 900 750 900; + name "Black"; + }; + + AxisValue { + location ital 0; + name "Roman"; + flag ElidableAxisValueName; + }; + +} STAT; |