aboutsummaryrefslogtreecommitdiff
path: root/Tests/feaLib/data/STAT_bad.fea
blob: 8ec887f0e9ce3d8fd862bb836408094b7d67b1e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
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;