Debian Codegraph @

texk/ttfdump/include/os2_P.h

raw
1 /* Private header file for os2.c */
2 #ifdef __TTF_OS2
3 #ifndef __TTF_OS2_H
4 #define __TTF_OS2_H
5
6 static const char *WeightClassName[] =
7 {
8 "Thin", /* Ultra-light */
9 "Extra-light",
10 "Light",
11 "Normal", /* Semi-light */
12 "Medium",
13 "Semi-bold",
14 "Bold",
15 "Extra-Bold",
16 "Black" /* Ultra-bold */
17 };
18
19 static const char *WidthClassName[] =
20 {
21 "Ultra-condensed",
22 "Extra-condensed",
23 "Condensed",
24 "Semi-condensed",
25 "Medium",
26 "Semi-expanded",
27 "Expanded",
28 "Extra-expanded",
29 "Ultra-expanded"
30 };
31
32 static const char *PanoseFamily[] =
33 {
34 "Any",
35 "No Fit",
36 "Text and Display",
37 "Script",
38 "Decorative",
39 "Pictorial"
40 };
41
42 static const char *PanoseSerif[] =
43 {
44 "Any",
45 "No Fit",
46 "Cove",
47 "Obtuse Cove",
48 "Square Cove",
49 "Obtuse Square Cove",
50 "Square",
51 "Thin",
52 "Bone",
53 "Exaggerated",
54 "Triangle",
55 "Normal Sans",
56 "Obtuse Sans",
57 "Perp Sans",
58 "Flared",
59 "Rounded"
60 };
61
62 static const char *PanoseWeight[] =
63 {
64 "Any",
65 "No Fit",
66 "Very Light",
67 "Ligth",
68 "Thin",
69 "Book",
70 "Medium",
71 "Demi",
72 "Bold",
73 "Heavy",
74 "Black",
75 "Nord",
76 };
77
78 static const char *PanoseProportion[] =
79 {
80 "Any",
81 "No Fit",
82 "Old Style",
83 "Modern",
84 "Even Width",
85 "Expanded",
86 "Condensed",
87 "Very Expanded",
88 "Very Condensed",
89 "Monospaced"
90 };
91
92 static const char *PanoseContrast[] =
93 {
94 "Any",
95 "No Fit",
96 "None",
97 "Very Low",
98 "Low",
99 "Medium Low",
100 "Medium",
101 "Medium High",
102 "High",
103 "Very High",
104 };
105
106 static const char *PanoseStroke[] =
107 {
108 "Any",
109 "No Fit",
110 "Gradual/Diagonal",
111 "Gradual/Transitional",
112 "Gradual/Vertical",
113 "Gradual/Horizontal",
114 "Rapid/Vertical",
115 "Rapid/Horizontal",
116 "Rapid/Vertical"
117 };
118
119 static const char *PanoseArm[] =
120 {
121 "Any",
122 "No Fit"
123 "Straight Arms/Horizontal",
124 "Straight Arms/Wedge",
125 "Straight Arms/Vertical",
126 "Straight Arms/Single Serif",
127 "Straight Arms/Double Serif",
128 "Non-Straight Arms/Horizontal",
129 "Non-Straight Arms/Wedge",
130 "Non-Straight Arms/Vertical",
131 "Non-Straight Arms/Single Serif",
132 "Non-Straight Arms/Double Serif"
133 };
134
135 static const char *PanoseLetterform[] =
136 {
137 "Any",
138 "No Fit",
139 "Normal/Contact",
140 "Normal/Weighted",
141 "Normal/Boxed",
142 "Normal/Flttened",
143 "Normal/Rounded",
144 "Normal/Off Center",
145 "Normal/Square",
146 "Oblique/Contact",
147 "Oblique/Weighted",
148 "Oblique/Boxed",
149 "Oblique/Flattened",
150 "Oblique/Rounded",
151 "Oblique/Off Center",
152 "Oblique/Square"
153 };
154
155 static const char *PanoseMidline[] =
156 {
157 "Any",
158 "No Fit",
159 "Standard/Trimmed",
160 "Standard/Pointed",
161 "Standard/Serifed",
162 "High/Trimmed",
163 "High/Pointed"
164 "High/Serifed",
165 "Constant/Trimmed",
166 "Constant/Pointed",
167 "Constant/Serifed",
168 "Low/Trimmed"
169 "Low/Pointed",
170 "Low/Serifed",
171 };
172
173 static const char *PanoseXHeight[] =
174 {
175 "Any",
176 "No Fit",
177 "Constant/Small",
178 "Constant/Standard",
179 "Constant/Large",
180 "Ducking/Small",
181 "Ducking/Standard",
182 "Ducking/Large"
183 };
184
185 #define FS_FLAGS_ITALIC 0x01
186 #define FS_FLAGS_UNDERSCORE 0x02
187 #define FS_FLAGS_NEGATIVE 0x04
188 #define FS_FLAGS_OUTLINED 0x08
189 #define FS_FLAGS_STRIKEOUT 0x10
190 #define FS_FLAGS_BOLD 0x20
191 #define FS_FLAGS_REGULAR 0x40
192
193 #endif /* __TTF_OS2_H */
194 #endif /* __TTF_OS2 */
195
196
197 /* end of os2_P.h */