xref: /aosp_15_r20/external/fonttools/Tests/feaLib/data/STAT_bad.fea (revision e1fe3e4ad2793916b15cccdc4a7da52a7e1dd0e9)
1# bad fea file: Testing DesignAxis tag with incorrect label
2table name {
3	nameid 25 "TestFont";
4} name;
5
6
7table STAT {
8
9   ElidedFallbackName { name "Roman"; };
10
11   DesignAxis opsz 0 { badtag "Optical Size"; };  #'badtag' instead of 'name' is incorrect
12   DesignAxis wdth 1 { name "Width"; };
13   DesignAxis wght 2 { name "Weight"; };
14   DesignAxis ital 3 { name "Italic"; };
15
16   AxisValue {
17      location opsz 8 5 9;
18      location wdth 300 350 450;
19      name "Caption";
20   };
21
22   AxisValue {
23      location opsz 11 9 12;
24      name "Text";
25      flag OlderSiblingFontAttribute ElidableAxisValueName ;
26   };
27
28   AxisValue {
29      location opsz 16.7 12 24;
30      name "Subhead";
31   };
32
33   AxisValue {
34      location opsz 72 24 72;
35      name "Display";
36   };
37
38   AxisValue {
39      location wdth 80 80 89;
40      name "Condensed";
41   };
42
43   AxisValue {
44      location wdth 90 90 96;
45      name "Semicondensed";
46   };
47
48   AxisValue {
49      location wdth 100 97 101;
50      name "Normal";
51      flag ElidableAxisValueName;
52   };
53
54   AxisValue {
55      location wdth 125 102 125;
56      name "Extended";
57   };
58
59   AxisValue {
60      location wght 300 300 349;
61      name "Light";
62   };
63
64   AxisValue {
65      location wght 400 350 449;
66      name "Regular";
67      flag ElidableAxisValueName;
68   };
69
70   AxisValue {
71      location wght 500 450 549;
72      name "Medium";
73   };
74
75   AxisValue {
76      location wght 600 550 649;
77      name "Semibold";
78   };
79
80   AxisValue {
81      location wght 700 650 749;
82      name "Bold";
83   };
84
85   AxisValue {
86      location wght 900 750 900;
87      name "Black";
88   };
89
90   AxisValue {
91      location ital 0;
92      name "Roman";
93      flag ElidableAxisValueName;
94   };
95
96} STAT;
97