Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | /******************************************************************* |
2 | * |
||
3 | * ftnameid.h |
||
4 | * |
||
5 | * TrueType Name ID definitions |
||
6 | * |
||
7 | * Copyright 1996-1999 by |
||
8 | * David Turner, Robert Wilhelm, and Werner Lemberg. |
||
9 | * |
||
10 | * This file is part of the FreeType project, and may only be used |
||
11 | * modified and distributed under the terms of the FreeType project |
||
12 | * license, LICENSE.TXT. By continuing to use, modify, or distribute |
||
13 | * this file you indicate that you have read the license and |
||
14 | * understand and accept it fully. |
||
15 | * |
||
16 | ******************************************************************/ |
||
17 | |||
18 | #ifndef FREETYPE_H |
||
19 | #error "Don't include this file! Use freetype.h instead." |
||
20 | #endif |
||
21 | |||
22 | #ifndef FTNAMEID_H |
||
23 | #define FTNAMEID_H |
||
24 | |||
25 | /* |
||
26 | * possible values for the 'Platform' identifier code in the name |
||
27 | * records of the TTF "name" table |
||
28 | */ |
||
29 | |||
30 | #define TT_PLATFORM_APPLE_UNICODE 0 |
||
31 | #define TT_PLATFORM_MACINTOSH 1 |
||
32 | #define TT_PLATFORM_ISO 2 |
||
33 | #define TT_PLATFORM_MICROSOFT 3 |
||
34 | |||
35 | |||
36 | /* |
||
37 | * possible values of the platform specific encoding identifier field in |
||
38 | * the name records of the TTF "name" table when the 'Platform' identifier |
||
39 | * code is TT_PLATFORM_APPLE_UNICODE |
||
40 | */ |
||
41 | |||
42 | #define TT_APPLE_ID_DEFAULT 0 |
||
43 | #define TT_APPLE_ID_UNICODE_1_1 1 |
||
44 | #define TT_APPLE_ID_ISO_10646 2 |
||
45 | #define TT_APPLE_ID_UNICODE_2_0 3 |
||
46 | |||
47 | |||
48 | /* |
||
49 | * possible values of the platform specific encoding identifier field in |
||
50 | * the name records of the TTF "name" table when the 'Platform' identifier |
||
51 | * code is TT_PLATFORM_MACINTOSH |
||
52 | */ |
||
53 | |||
54 | #define TT_MAC_ID_ROMAN 0 |
||
55 | #define TT_MAC_ID_JAPANESE 1 |
||
56 | #define TT_MAC_ID_TRADITIONAL_CHINESE 2 |
||
57 | #define TT_MAC_ID_KOREAN 3 |
||
58 | #define TT_MAC_ID_ARABIC 4 |
||
59 | #define TT_MAC_ID_HEBREW 5 |
||
60 | #define TT_MAC_ID_GREEK 6 |
||
61 | #define TT_MAC_ID_RUSSIAN 7 |
||
62 | #define TT_MAC_ID_RSYMBOL 8 |
||
63 | #define TT_MAC_ID_DEVANAGARI 9 |
||
64 | #define TT_MAC_ID_GURMUKHI 10 |
||
65 | #define TT_MAC_ID_GUJARATI 11 |
||
66 | #define TT_MAC_ID_ORIYA 12 |
||
67 | #define TT_MAC_ID_BENGALI 13 |
||
68 | #define TT_MAC_ID_TAMIL 14 |
||
69 | #define TT_MAC_ID_TELUGU 15 |
||
70 | #define TT_MAC_ID_KANNADA 16 |
||
71 | #define TT_MAC_ID_MALAYALAM 17 |
||
72 | #define TT_MAC_ID_SINHALESE 18 |
||
73 | #define TT_MAC_ID_BURMESE 19 |
||
74 | #define TT_MAC_ID_KHMER 20 |
||
75 | #define TT_MAC_ID_THAI 21 |
||
76 | #define TT_MAC_ID_LAOTIAN 22 |
||
77 | #define TT_MAC_ID_GEORGIAN 23 |
||
78 | #define TT_MAC_ID_ARMENIAN 24 |
||
79 | #define TT_MAC_ID_MALDIVIAN 25 |
||
80 | #define TT_MAC_ID_SIMPLIFIED_CHINESE 25 |
||
81 | #define TT_MAC_ID_TIBETAN 26 |
||
82 | #define TT_MAC_ID_MONGOLIAN 27 |
||
83 | #define TT_MAC_ID_GEEZ 28 |
||
84 | #define TT_MAC_ID_SLAVIC 29 |
||
85 | #define TT_MAC_ID_VIETNAMESE 30 |
||
86 | #define TT_MAC_ID_SINDHI 31 |
||
87 | #define TT_MAC_ID_UNINTERP 32 |
||
88 | |||
89 | |||
90 | /* |
||
91 | * possible values of the platform specific encoding identifier field in |
||
92 | * the name records of the TTF "name" table when the 'Platform' identifier |
||
93 | * code is TT_PLATFORM_ISO |
||
94 | */ |
||
95 | |||
96 | #define TT_ISO_ID_7BIT_ASCII 0 |
||
97 | #define TT_ISO_ID_10646 1 |
||
98 | #define TT_ISO_ID_8859_1 2 |
||
99 | |||
100 | |||
101 | /* |
||
102 | * possible values of the platform specific encoding identifier field in |
||
103 | * the name records of the TTF "name" table when the 'Platform' identifier |
||
104 | * code is TT_PLATFORM_MICROSOFT |
||
105 | */ |
||
106 | |||
107 | #define TT_MS_ID_SYMBOL_CS 0 |
||
108 | #define TT_MS_ID_UNICODE_CS 1 |
||
109 | #define TT_MS_ID_SJIS 2 |
||
110 | #define TT_MS_ID_GB2312 3 |
||
111 | #define TT_MS_ID_BIG_5 4 |
||
112 | #define TT_MS_ID_WANSUNG 5 |
||
113 | #define TT_MS_ID_JOHAB 6 |
||
114 | |||
115 | |||
116 | |||
117 | /* |
||
118 | * possible values of the language identifier field in the name records of |
||
119 | * the TTF "name" table when the 'Platform' identifier code is |
||
120 | * TT_PLATFORM_MACINTOSH |
||
121 | * |
||
122 | * the canonical source for the Apple assigned Language ID's is at |
||
123 | * http://fonts.apple.com/TTRefMan/RM06/Chap6name.html |
||
124 | */ |
||
125 | |||
126 | #define TT_MAC_LANGID_ENGLISH 0 |
||
127 | #define TT_MAC_LANGID_FRENCH 1 |
||
128 | #define TT_MAC_LANGID_GERMAN 2 |
||
129 | #define TT_MAC_LANGID_ITALIAN 3 |
||
130 | #define TT_MAC_LANGID_DUTCH 4 |
||
131 | #define TT_MAC_LANGID_SWEDISH 5 |
||
132 | #define TT_MAC_LANGID_SPANISH 6 |
||
133 | #define TT_MAC_LANGID_DANISH 7 |
||
134 | #define TT_MAC_LANGID_PORTUGUESE 8 |
||
135 | #define TT_MAC_LANGID_NORWEGIAN 9 |
||
136 | #define TT_MAC_LANGID_HEBREW 10 |
||
137 | #define TT_MAC_LANGID_JAPANESE 11 |
||
138 | #define TT_MAC_LANGID_ARABIC 12 |
||
139 | #define TT_MAC_LANGID_FINNISH 13 |
||
140 | #define TT_MAC_LANGID_GREEK 14 |
||
141 | #define TT_MAC_LANGID_ICELANDIC 15 |
||
142 | #define TT_MAC_LANGID_MALTESE 16 |
||
143 | #define TT_MAC_LANGID_TURKISH 17 |
||
144 | #define TT_MAC_LANGID_CROATIAN 18 |
||
145 | #define TT_MAC_LANGID_CHINESE_TRADITIONAL 19 |
||
146 | #define TT_MAC_LANGID_URDU 20 |
||
147 | #define TT_MAC_LANGID_HINDI 21 |
||
148 | #define TT_MAC_LANGID_THAI 22 |
||
149 | #define TT_MAC_LANGID_KOREAN 23 |
||
150 | #define TT_MAC_LANGID_LITHUANIAN 24 |
||
151 | #define TT_MAC_LANGID_POLISH 25 |
||
152 | #define TT_MAC_LANGID_HUNGARIAN 26 |
||
153 | #define TT_MAC_LANGID_ESTONIAN 27 |
||
154 | #define TT_MAC_LANGID_LETTISH 28 |
||
155 | #define TT_MAC_LANGID_SAAMISK 29 |
||
156 | #define TT_MAC_LANGID_FAEROESE 30 |
||
157 | #define TT_MAC_LANGID_FARSI 31 |
||
158 | #define TT_MAC_LANGID_RUSSIAN 32 |
||
159 | #define TT_MAC_LANGID_CHINESE_SIMPLIFIED 33 |
||
160 | #define TT_MAC_LANGID_FLEMISH 34 |
||
161 | #define TT_MAC_LANGID_IRISH 35 |
||
162 | #define TT_MAC_LANGID_ALBANIAN 36 |
||
163 | #define TT_MAC_LANGID_ROMANIAN 37 |
||
164 | #define TT_MAC_LANGID_CZECH 38 |
||
165 | #define TT_MAC_LANGID_SLOVAK 39 |
||
166 | #define TT_MAC_LANGID_SLOVENIAN 40 |
||
167 | #define TT_MAC_LANGID_YIDDISH 41 |
||
168 | #define TT_MAC_LANGID_SERBIAN 42 |
||
169 | #define TT_MAC_LANGID_MACEDONIAN 43 |
||
170 | #define TT_MAC_LANGID_BULGARIAN 44 |
||
171 | #define TT_MAC_LANGID_UKRAINIAN 45 |
||
172 | #define TT_MAC_LANGID_BYELORUSSIAN 46 |
||
173 | #define TT_MAC_LANGID_UZBEK 47 |
||
174 | #define TT_MAC_LANGID_KAZAKH 48 |
||
175 | #define TT_MAC_LANGID_AZERBAIJANI 49 |
||
176 | #define TT_MAC_LANGID_AZERBAIJANI_ARABIC_SCRIPT 50 |
||
177 | #define TT_MAC_LANGID_ARMENIAN 51 |
||
178 | #define TT_MAC_LANGID_GEORGIAN 52 |
||
179 | #define TT_MAC_LANGID_MOLDAVIAN 53 |
||
180 | #define TT_MAC_LANGID_KIRGHIZ 54 |
||
181 | #define TT_MAC_LANGID_TAJIKI 55 |
||
182 | #define TT_MAC_LANGID_TURKMEN 56 |
||
183 | #define TT_MAC_LANGID_MONGOLIAN 57 |
||
184 | #define TT_MAC_LANGID_MONGOLIAN_CYRILLIC_SCRIPT 58 |
||
185 | #define TT_MAC_LANGID_PASHTO 59 |
||
186 | #define TT_MAC_LANGID_KURDISH 60 |
||
187 | #define TT_MAC_LANGID_KASHMIRI 61 |
||
188 | #define TT_MAC_LANGID_SINDHI 62 |
||
189 | #define TT_MAC_LANGID_TIBETAN 63 |
||
190 | #define TT_MAC_LANGID_NEPALI 64 |
||
191 | #define TT_MAC_LANGID_SANSKRIT 65 |
||
192 | #define TT_MAC_LANGID_MARATHI 66 |
||
193 | #define TT_MAC_LANGID_BENGALI 67 |
||
194 | #define TT_MAC_LANGID_ASSAMESE 68 |
||
195 | #define TT_MAC_LANGID_GUJARATI 69 |
||
196 | #define TT_MAC_LANGID_PUNJABI 70 |
||
197 | #define TT_MAC_LANGID_ORIYA 71 |
||
198 | #define TT_MAC_LANGID_MALAYALAM 72 |
||
199 | #define TT_MAC_LANGID_KANNADA 73 |
||
200 | #define TT_MAC_LANGID_TAMIL 74 |
||
201 | #define TT_MAC_LANGID_TELUGU 75 |
||
202 | #define TT_MAC_LANGID_SINHALESE 76 |
||
203 | #define TT_MAC_LANGID_BURMESE 77 |
||
204 | #define TT_MAC_LANGID_KHMER 78 |
||
205 | #define TT_MAC_LANGID_LAO 79 |
||
206 | #define TT_MAC_LANGID_VIETNAMESE 80 |
||
207 | #define TT_MAC_LANGID_INDONESIAN 81 |
||
208 | #define TT_MAC_LANGID_TAGALOG 82 |
||
209 | #define TT_MAC_LANGID_MALAY_ROMAN_SCRIPT 83 |
||
210 | #define TT_MAC_LANGID_MALAY_ARABIC_SCRIPT 84 |
||
211 | #define TT_MAC_LANGID_AMHARIC 85 |
||
212 | #define TT_MAC_LANGID_TIGRINYA 86 |
||
213 | #define TT_MAC_LANGID_GALLA 87 |
||
214 | #define TT_MAC_LANGID_SOMALI 88 |
||
215 | #define TT_MAC_LANGID_SWAHILI 89 |
||
216 | #define TT_MAC_LANGID_RUANDA 90 |
||
217 | #define TT_MAC_LANGID_RUNDI 91 |
||
218 | #define TT_MAC_LANGID_CHEWA 92 |
||
219 | #define TT_MAC_LANGID_MALAGASY 93 |
||
220 | #define TT_MAC_LANGID_ESPERANTO 94 |
||
221 | #define TT_MAC_LANGID_WELSH 128 |
||
222 | #define TT_MAC_LANGID_BASQUE 129 |
||
223 | #define TT_MAC_LANGID_CATALAN 130 |
||
224 | #define TT_MAC_LANGID_LATIN 131 |
||
225 | #define TT_MAC_LANGID_QUECHUA 132 |
||
226 | #define TT_MAC_LANGID_GUARANI 133 |
||
227 | #define TT_MAC_LANGID_AYMARA 134 |
||
228 | #define TT_MAC_LANGID_TATAR 135 |
||
229 | #define TT_MAC_LANGID_UIGHUR 136 |
||
230 | #define TT_MAC_LANGID_DZONGKHA 137 |
||
231 | #define TT_MAC_LANGID_JAVANESE 138 |
||
232 | #define TT_MAC_LANGID_SUNDANESE 139 |
||
233 | #define TT_MAC_LANGID_SCOTTISH_GAELIC 140 |
||
234 | #define TT_MAC_LANGID_IRISH_GAELIC 141 |
||
235 | #define TT_MAC_LANGID_BRETON 142 |
||
236 | #define TT_MAC_LANGID_INUKTITUT 143 |
||
237 | |||
238 | |||
239 | /* |
||
240 | * possible values of the language identifier field in the name records of |
||
241 | * the TTF "name" table when the 'Platform' identifier code is |
||
242 | * TT_PLATFORM_MICROSOFT |
||
243 | * |
||
244 | * the canonical source for the MS assigned LCID's is at |
||
245 | * http://www.microsoft.com/typography/OTSPEC/lcid-cp.txt |
||
246 | */ |
||
247 | |||
248 | #define TT_MS_LANGID_ARABIC_SAUDI_ARABIA 0x0401 |
||
249 | #define TT_MS_LANGID_ARABIC_IRAQ 0x0801 |
||
250 | #define TT_MS_LANGID_ARABIC_EGYPT 0x0c01 |
||
251 | #define TT_MS_LANGID_ARABIC_LIBYA 0x1001 |
||
252 | #define TT_MS_LANGID_ARABIC_ALGERIA 0x1401 |
||
253 | #define TT_MS_LANGID_ARABIC_MOROCCO 0x1801 |
||
254 | #define TT_MS_LANGID_ARABIC_TUNISIA 0x1c01 |
||
255 | #define TT_MS_LANGID_ARABIC_OMAN 0x2001 |
||
256 | #define TT_MS_LANGID_ARABIC_YEMEN 0x2401 |
||
257 | #define TT_MS_LANGID_ARABIC_SYRIA 0x2801 |
||
258 | #define TT_MS_LANGID_ARABIC_JORDAN 0x2c01 |
||
259 | #define TT_MS_LANGID_ARABIC_LEBANON 0x3001 |
||
260 | #define TT_MS_LANGID_ARABIC_KUWAIT 0x3401 |
||
261 | #define TT_MS_LANGID_ARABIC_UAE 0x3801 |
||
262 | #define TT_MS_LANGID_ARABIC_BAHRAIN 0x3c01 |
||
263 | #define TT_MS_LANGID_ARABIC_QATAR 0x4001 |
||
264 | #define TT_MS_LANGID_BULGARIAN_BULGARIA 0x0402 |
||
265 | #define TT_MS_LANGID_CATALAN_SPAIN 0x0403 |
||
266 | #define TT_MS_LANGID_CHINESE_TAIWAN 0x0404 |
||
267 | #define TT_MS_LANGID_CHINESE_PRC 0x0804 |
||
268 | #define TT_MS_LANGID_CHINESE_HONG_KONG 0x0c04 |
||
269 | #define TT_MS_LANGID_CHINESE_SINGAPORE 0x1004 |
||
270 | #define TT_MS_LANGID_CHINESE_MACAU 0x1404 |
||
271 | #define TT_MS_LANGID_CZECH_CZECH_REPUBLIC 0x0405 |
||
272 | #define TT_MS_LANGID_DANISH_DENMARK 0x0406 |
||
273 | #define TT_MS_LANGID_GERMAN_GERMANY 0x0407 |
||
274 | #define TT_MS_LANGID_GERMAN_SWITZERLAND 0x0807 |
||
275 | #define TT_MS_LANGID_GERMAN_AUSTRIA 0x0c07 |
||
276 | #define TT_MS_LANGID_GERMAN_LUXEMBOURG 0x1007 |
||
277 | #define TT_MS_LANGID_GERMAN_LIECHTENSTEI 0x1407 |
||
278 | #define TT_MS_LANGID_GREEK_GREECE 0x0408 |
||
279 | #define TT_MS_LANGID_ENGLISH_UNITED_STATES 0x0409 |
||
280 | #define TT_MS_LANGID_ENGLISH_UNITED_KINGDOM 0x0809 |
||
281 | #define TT_MS_LANGID_ENGLISH_AUSTRALIA 0x0c09 |
||
282 | #define TT_MS_LANGID_ENGLISH_CANADA 0x1009 |
||
283 | #define TT_MS_LANGID_ENGLISH_NEW_ZEALAND 0x1409 |
||
284 | #define TT_MS_LANGID_ENGLISH_IRELAND 0x1809 |
||
285 | #define TT_MS_LANGID_ENGLISH_SOUTH_AFRICA 0x1c09 |
||
286 | #define TT_MS_LANGID_ENGLISH_JAMAICA 0x2009 |
||
287 | #define TT_MS_LANGID_ENGLISH_CARIBBEAN 0x2409 |
||
288 | #define TT_MS_LANGID_ENGLISH_BELIZE 0x2809 |
||
289 | #define TT_MS_LANGID_ENGLISH_TRINIDAD 0x2c09 |
||
290 | #define TT_MS_LANGID_ENGLISH_ZIMBABWE 0x3009 |
||
291 | #define TT_MS_LANGID_ENGLISH_PHILIPPINES 0x3409 |
||
292 | #define TT_MS_LANGID_SPANISH_SPAIN_TRADITIONAL_SORT 0x040a |
||
293 | #define TT_MS_LANGID_SPANISH_MEXICO 0x080a |
||
294 | #define TT_MS_LANGID_SPANISH_SPAIN_INTERNATIONAL_SORT 0x0c0a |
||
295 | #define TT_MS_LANGID_SPANISH_GUATEMALA 0x100a |
||
296 | #define TT_MS_LANGID_SPANISH_COSTA_RICA 0x140a |
||
297 | #define TT_MS_LANGID_SPANISH_PANAMA 0x180a |
||
298 | #define TT_MS_LANGID_SPANISH_DOMINICAN_REPUBLIC 0x1c0a |
||
299 | #define TT_MS_LANGID_SPANISH_VENEZUELA 0x200a |
||
300 | #define TT_MS_LANGID_SPANISH_COLOMBIA 0x240a |
||
301 | #define TT_MS_LANGID_SPANISH_PERU 0x280a |
||
302 | #define TT_MS_LANGID_SPANISH_ARGENTINA 0x2c0a |
||
303 | #define TT_MS_LANGID_SPANISH_ECUADOR 0x300a |
||
304 | #define TT_MS_LANGID_SPANISH_CHILE 0x340a |
||
305 | #define TT_MS_LANGID_SPANISH_URUGUAY 0x380a |
||
306 | #define TT_MS_LANGID_SPANISH_PARAGUAY 0x3c0a |
||
307 | #define TT_MS_LANGID_SPANISH_BOLIVIA 0x400a |
||
308 | #define TT_MS_LANGID_SPANISH_EL_SALVADOR 0x440a |
||
309 | #define TT_MS_LANGID_SPANISH_HONDURAS 0x480a |
||
310 | #define TT_MS_LANGID_SPANISH_NICARAGUA 0x4c0a |
||
311 | #define TT_MS_LANGID_SPANISH_PUERTO_RICO 0x500a |
||
312 | #define TT_MS_LANGID_FINNISH_FINLAND 0x040b |
||
313 | #define TT_MS_LANGID_FRENCH_FRANCE 0x040c |
||
314 | #define TT_MS_LANGID_FRENCH_BELGIUM 0x080c |
||
315 | #define TT_MS_LANGID_FRENCH_CANADA 0x0c0c |
||
316 | #define TT_MS_LANGID_FRENCH_SWITZERLAND 0x100c |
||
317 | #define TT_MS_LANGID_FRENCH_LUXEMBOURG 0x140c |
||
318 | #define TT_MS_LANGID_FRENCH_MONACO 0x180c |
||
319 | #define TT_MS_LANGID_HEBREW_ISRAEL 0x040d |
||
320 | #define TT_MS_LANGID_HUNGARIAN_HUNGARY 0x040e |
||
321 | #define TT_MS_LANGID_ICELANDIC_ICELAND 0x040f |
||
322 | #define TT_MS_LANGID_ITALIAN_ITALY 0x0410 |
||
323 | #define TT_MS_LANGID_ITALIAN_SWITZERLAND 0x0810 |
||
324 | #define TT_MS_LANGID_JAPANESE_JAPAN 0x0411 |
||
325 | #define TT_MS_LANGID_KOREAN_EXTENDED_WANSUNG_KOREA 0x0412 |
||
326 | #define TT_MS_LANGID_KOREAN_JOHAB_KOREA 0x0812 |
||
327 | #define TT_MS_LANGID_DUTCH_NETHERLANDS 0x0413 |
||
328 | #define TT_MS_LANGID_DUTCH_BELGIUM 0x0813 |
||
329 | #define TT_MS_LANGID_NORWEGIAN_NORWAY_BOKMAL 0x0414 |
||
330 | #define TT_MS_LANGID_NORWEGIAN_NORWAY_NYNORSK 0x0814 |
||
331 | #define TT_MS_LANGID_POLISH_POLAND 0x0415 |
||
332 | #define TT_MS_LANGID_PORTUGUESE_BRAZIL 0x0416 |
||
333 | #define TT_MS_LANGID_PORTUGUESE_PORTUGAL 0x0816 |
||
334 | #define TT_MS_LANGID_RHAETO_ROMANIC_SWITZERLAND 0x0417 |
||
335 | #define TT_MS_LANGID_ROMANIAN_ROMANIA 0x0418 |
||
336 | #define TT_MS_LANGID_MOLDAVIAN_MOLDAVIA 0x0818 |
||
337 | #define TT_MS_LANGID_RUSSIAN_RUSSIA 0x0419 |
||
338 | #define TT_MS_LANGID_RUSSIAN_MOLDAVIA 0x0819 |
||
339 | #define TT_MS_LANGID_CROATIAN_CROATIA 0x041a |
||
340 | #define TT_MS_LANGID_SERBIAN_SERBIA_LATIN 0x081a |
||
341 | #define TT_MS_LANGID_SERBIAN_SERBIA_CYRILLIC 0x0c1a |
||
342 | #define TT_MS_LANGID_SLOVAK_SLOVAKIA 0x041b |
||
343 | #define TT_MS_LANGID_ALBANIAN_ALBANIA 0x041c |
||
344 | #define TT_MS_LANGID_SWEDISH_SWEDEN 0x041d |
||
345 | #define TT_MS_LANGID_SWEDISH_FINLAND 0x081d |
||
346 | #define TT_MS_LANGID_THAI_THAILAND 0x041e |
||
347 | #define TT_MS_LANGID_TURKISH_TURKEY 0x041f |
||
348 | #define TT_MS_LANGID_URDU_PAKISTAN 0x0420 |
||
349 | #define TT_MS_LANGID_INDONESIAN_INDONESIA 0x0421 |
||
350 | #define TT_MS_LANGID_UKRAINIAN_UKRAINE 0x0422 |
||
351 | #define TT_MS_LANGID_BELARUSIAN_BELARUS 0x0423 |
||
352 | #define TT_MS_LANGID_SLOVENE_SLOVENIA 0x0424 |
||
353 | #define TT_MS_LANGID_ESTONIAN_ESTONIA 0x0425 |
||
354 | #define TT_MS_LANGID_LATVIAN_LATVIA 0x0426 |
||
355 | #define TT_MS_LANGID_LITHUANIAN_LITHUANIA 0x0427 |
||
356 | #define TT_MS_LANGID_CLASSIC_LITHUANIAN_LITHUANIA 0x0827 |
||
357 | #define TT_MS_LANGID_MAORI_NEW_ZEALAND 0x0428 |
||
358 | #define TT_MS_LANGID_FARSI_IRAN 0x0429 |
||
359 | #define TT_MS_LANGID_VIETNAMESE_VIET_NAM 0x042a |
||
360 | #define TT_MS_LANGID_ARMENIAN_ARMENIA 0x042b |
||
361 | #define TT_MS_LANGID_AZERI_AZERBAIJAN_LATIN 0x042c |
||
362 | #define TT_MS_LANGID_AZERI_AZERBAIJAN_CYRILLIC 0x082c |
||
363 | #define TT_MS_LANGID_BASQUE_SPAIN 0x042d |
||
364 | #define TT_MS_LANGID_SORBIAN_GERMANY 0x042e |
||
365 | #define TT_MS_LANGID_MACEDONIAN_MACEDONIA 0x042f |
||
366 | #define TT_MS_LANGID_SUTU_SOUTH_AFRICA 0x0430 |
||
367 | #define TT_MS_LANGID_TSONGA_SOUTH_AFRICA 0x0431 |
||
368 | #define TT_MS_LANGID_TSWANA_SOUTH_AFRICA 0x0432 |
||
369 | #define TT_MS_LANGID_VENDA_SOUTH_AFRICA 0x0433 |
||
370 | #define TT_MS_LANGID_XHOSA_SOUTH_AFRICA 0x0434 |
||
371 | #define TT_MS_LANGID_ZULU_SOUTH_AFRICA 0x0435 |
||
372 | #define TT_MS_LANGID_AFRIKAANS_SOUTH_AFRICA 0x0436 |
||
373 | #define TT_MS_LANGID_GEORGIAN_GEORGIA 0x0437 |
||
374 | #define TT_MS_LANGID_FAEROESE_FAEROE_ISLANDS 0x0438 |
||
375 | #define TT_MS_LANGID_HINDI_INDIA 0x0439 |
||
376 | #define TT_MS_LANGID_MALTESE_MALTA 0x043a |
||
377 | #define TT_MS_LANGID_SAAMI_LAPONIA 0x043b |
||
378 | #define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043c |
||
379 | #define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083c |
||
380 | #define TT_MS_LANGID_MALAY_MALAYSIA 0x043e |
||
381 | #define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083e |
||
382 | #define TT_MS_LANGID_KAZAK_KAZAKSTAN 0x043f |
||
383 | #define TT_MS_LANGID_SWAHILI_KENYA 0x0441 |
||
384 | #define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443 |
||
385 | #define TT_MS_LANGID_UZBEK_UZBEKISTAN_CYRILLIC 0x0843 |
||
386 | #define TT_MS_LANGID_TATAR_TATARSTAN 0x0444 |
||
387 | #define TT_MS_LANGID_BENGALI_INDIA 0x0445 |
||
388 | #define TT_MS_LANGID_PUNJABI_INDIA 0x0446 |
||
389 | #define TT_MS_LANGID_GUJARATI_INDIA 0x0447 |
||
390 | #define TT_MS_LANGID_ORIYA_INDIA 0x0448 |
||
391 | #define TT_MS_LANGID_TAMIL_INDIA 0x0449 |
||
392 | #define TT_MS_LANGID_TELUGU_INDIA 0x044a |
||
393 | #define TT_MS_LANGID_KANNADA_INDIA 0x044b |
||
394 | #define TT_MS_LANGID_MALAYALAM_INDIA 0x044c |
||
395 | #define TT_MS_LANGID_ASSAMESE_INDIA 0x044d |
||
396 | #define TT_MS_LANGID_MARATHI_INDIA 0x044e |
||
397 | #define TT_MS_LANGID_SANSKRIT_INDIA 0x044f |
||
398 | #define TT_MS_LANGID_KONKANI_INDIA 0x0457 |
||
399 | |||
400 | |||
401 | /* |
||
402 | * possible values of the 'Name' identifier field in the name records of |
||
403 | * the TTF "name" table. These values are platform independent. |
||
404 | */ |
||
405 | |||
406 | #define TT_NAME_ID_COPYRIGHT 0 |
||
407 | #define TT_NAME_ID_FONT_FAMILY 1 |
||
408 | #define TT_NAME_ID_FONT_SUBFAMILY 2 |
||
409 | #define TT_NAME_ID_UNIQUE_ID 3 |
||
410 | #define TT_NAME_ID_FULL_NAME 4 |
||
411 | #define TT_NAME_ID_VERSION_STRING 5 |
||
412 | #define TT_NAME_ID_PS_NAME 6 |
||
413 | #define TT_NAME_ID_TRADEMARK 7 |
||
414 | /* the following values are from the OpenType spec */ |
||
415 | #define TT_NAME_ID_MANUFACTURER 8 |
||
416 | #define TT_NAME_ID_DESIGNER 9 |
||
417 | #define TT_NAME_ID_DESCRIPTION 10 |
||
418 | #define TT_NAME_ID_VENDOR_URL 11 |
||
419 | #define TT_NAME_ID_DESIGNER_URL 12 |
||
420 | #define TT_NAME_ID_LICENSE 13 |
||
421 | #define TT_NAME_ID_LICENSE_URL 14 |
||
422 | /* number 15 is reserved */ |
||
423 | #define TT_NAME_ID_PREFERRED_FAMILY 16 |
||
424 | #define TT_NAME_ID_PREFERRED_SUBFAMILY 17 |
||
425 | #define TT_NAME_ID_MAC_FULL_NAME 18 |
||
426 | |||
427 | |||
428 | /* |
||
429 | * Bit Mask values for the Unicode Ranges from the TTF "OS2 " table. |
||
430 | */ |
||
431 | |||
432 | /* General Scripts Area */ |
||
433 | |||
434 | /* Bit 0 C0 Controls and Basic Latin */ |
||
435 | #define TT_UCR_BASIC_LATIN (1L << 0) /* U+0000-U+007F */ |
||
436 | /* Bit 1 C1 Controls and Latin-1 Supplement */ |
||
437 | #define TT_UCR_LATIN1_SUPPLEMENT (1L << 1) /* U+0080-U+00FF */ |
||
438 | /* Bit 2 Latin Extended-A */ |
||
439 | #define TT_UCR_LATIN_EXTENDED_A (1L << 2) /* U+0100-U+017F */ |
||
440 | /* Bit 3 Latin Extended-B */ |
||
441 | #define TT_UCR_LATIN_EXTENDED_B (1L << 3) /* U+0180-U+024F */ |
||
442 | /* Bit 4 IPA Extensions */ |
||
443 | #define TT_UCR_IPA_EXTENSIONS (1L << 4) /* U+0250-U+02AF */ |
||
444 | /* Bit 5 Spacing Modifier Letters */ |
||
445 | #define TT_UCR_SPACING_MODIFIER (1L << 5) /* U+02B0-U+02FF */ |
||
446 | /* Bit 6 Combining Diacritical Marks */ |
||
447 | #define TT_UCR_COMBINING_DIACRITICS (1L << 6) /* U+0300-U+036F */ |
||
448 | /* Bit 7 Greek */ |
||
449 | #define TT_UCR_GREEK (1L << 7) /* U+0370-U+03FF */ |
||
450 | /* Bit 8 is reserved (was: Greek Symbols and Coptic) */ |
||
451 | /* Bit 9 Cyrillic */ |
||
452 | #define TT_UCR_CYRILLIC (1L << 9) /* U+0400-U+04FF */ |
||
453 | /* Bit 10 Armenian */ |
||
454 | #define TT_UCR_ARMENIAN (1L << 10) /* U+0530-U+058F */ |
||
455 | /* Bit 11 Hebrew */ |
||
456 | #define TT_UCR_HEBREW (1L << 11) /* U+0590-U+05FF */ |
||
457 | /* Bit 12 is reserved (was: Hebrew Extended) */ |
||
458 | /* Bit 13 Arabic */ |
||
459 | #define TT_UCR_ARABIC (1L << 13) /* U+0600-U+06FF */ |
||
460 | /* Bit 14 is reserved (was: Arabic Extended) */ |
||
461 | /* Bit 15 Devanagari */ |
||
462 | #define TT_UCR_DEVANAGARI (1L << 15) /* U+0900-U+097F */ |
||
463 | /* Bit 16 Bengali */ |
||
464 | #define TT_UCR_BENGALI (1L << 16) /* U+0980-U+09FF */ |
||
465 | /* Bit 17 Gurmukhi */ |
||
466 | #define TT_UCR_GURMUKHI (1L << 17) /* U+0A00-U+0A7F */ |
||
467 | /* Bit 18 Gujarati */ |
||
468 | #define TT_UCR_GUJARATI (1L << 18) /* U+0A80-U+0AFF */ |
||
469 | /* Bit 19 Oriya */ |
||
470 | #define TT_UCR_ORIYA (1L << 19) /* U+0B00-U+0B7F */ |
||
471 | /* Bit 20 Tamil */ |
||
472 | #define TT_UCR_TAMIL (1L << 20) /* U+0B80-U+0BFF */ |
||
473 | /* Bit 21 Telugu */ |
||
474 | #define TT_UCR_TELUGU (1L << 21) /* U+0C00-U+0C7F */ |
||
475 | /* Bit 22 Kannada */ |
||
476 | #define TT_UCR_KANNADA (1L << 22) /* U+0C80-U+0CFF */ |
||
477 | /* Bit 23 Malayalam */ |
||
478 | #define TT_UCR_MALAYALAM (1L << 23) /* U+0D00-U+0D7F */ |
||
479 | /* Bit 24 Thai */ |
||
480 | #define TT_UCR_THAI (1L << 24) /* U+0E00-U+0E7F */ |
||
481 | /* Bit 25 Lao */ |
||
482 | #define TT_UCR_LAO (1L << 25) /* U+0E80-U+0EFF */ |
||
483 | /* Bit 26 Georgian */ |
||
484 | #define TT_UCR_GEORGIAN (1L << 26) /* U+10A0-U+10FF */ |
||
485 | /* Bit 27 is reserved (was Georgian Extended) */ |
||
486 | /* Bit 28 Hangul Jamo */ |
||
487 | #define TT_UCR_HANGUL_JAMO (1L << 28) /* U+1100-U+11FF */ |
||
488 | /* Bit 29 Latin Extended Additional */ |
||
489 | #define TT_UCR_LATIN_EXTENDED_ADDITIONAL (1L << 29) /* U+1E00-U+1EFF */ |
||
490 | /* Bit 30 Greek Extended */ |
||
491 | #define TT_UCR_GREEK_EXTENDED (1L << 30) /* U+1F00-U+1FFF */ |
||
492 | |||
493 | /* Symbols Area */ |
||
494 | |||
495 | /* Bit 31 General Punctuation */ |
||
496 | #define TT_UCR_GENERAL_PUNCTUATION (1L << 31) /* U+2000-U+206F */ |
||
497 | /* Bit 32 Superscripts And Subscripts */ |
||
498 | #define TT_UCR_SUPERSCRIPTS_SUBSCRIPTS (1L << 0) /* U+2070-U+209F */ |
||
499 | /* Bit 33 Currency Symbols */ |
||
500 | #define TT_UCR_CURRENCY_SYMBOLS (1L << 1) /* U+20A0-U+20CF */ |
||
501 | /* Bit 34 Combining Diacritical Marks For Symbols */ |
||
502 | #define TT_UCR_COMBINING_DIACRITICS_SYMB (1L << 2) /* U+20D0-U+20FF */ |
||
503 | /* Bit 35 Letterlike Symbols */ |
||
504 | #define TT_UCR_LETTERLIKE_SYMBOLS (1L << 3) /* U+2100-U+214F */ |
||
505 | /* Bit 36 Number Forms */ |
||
506 | #define TT_UCR_NUMBER_FORMS (1L << 4) /* U+2150-U+218F */ |
||
507 | /* Bit 37 Arrows */ |
||
508 | #define TT_UCR_ARROWS (1L << 5) /* U+2190-U+21FF */ |
||
509 | /* Bit 38 Mathematical Operators */ |
||
510 | #define TT_UCR_MATHEMATICAL_OPERATORS (1L << 6) /* U+2200-U+22FF */ |
||
511 | /* Bit 39 Miscellaneous Technical */ |
||
512 | #define TT_UCR_MISCELLANEOUS_TECHNICAL (1L << 7) /* U+2300-U+23FF */ |
||
513 | /* Bit 40 Control Pictures */ |
||
514 | #define TT_UCR_CONTROL_PICTURES (1L << 8) /* U+2400-U+243F */ |
||
515 | /* Bit 41 Optical Character Recognition */ |
||
516 | #define TT_UCR_OCR (1L << 9) /* U+2440-U+245F */ |
||
517 | /* Bit 42 Enclosed Alphanumerics */ |
||
518 | #define TT_UCR_ENCLOSED_ALPHANUMERICS (1L << 10) /* U+2460-U+24FF */ |
||
519 | /* Bit 43 Box Drawing */ |
||
520 | #define TT_UCR_BOX_DRAWING (1L << 11) /* U+2500-U+257F */ |
||
521 | /* Bit 44 Block Elements */ |
||
522 | #define TT_UCR_BLOCK_ELEMENTS (1L << 12) /* U+2580-U+259F */ |
||
523 | /* Bit 45 Geometric Shapes */ |
||
524 | #define TT_UCR_GEOMETRIC_SHAPES (1L << 13) /* U+25A0-U+25FF */ |
||
525 | /* Bit 46 Miscellaneous Symbols */ |
||
526 | #define TT_UCR_MISCELLANEOUS_SYMBOLS (1L << 14) /* U+2600-U+26FF */ |
||
527 | /* Bit 47 Dingbats */ |
||
528 | #define TT_UCR_DINGBATS (1L << 15) /* U+2700-U+27BF */ |
||
529 | |||
530 | /* CJK Phonetics and Symbols Area */ |
||
531 | |||
532 | /* Bit 48 CJK Symbols And Punctuation */ |
||
533 | #define TT_UCR_CJK_SYMBOLS (1L << 16) /* U+3000-U+303F */ |
||
534 | /* Bit 49 Hiragana */ |
||
535 | #define TT_UCR_HIRAGANA (1L << 17) /* U+3040-U+309F */ |
||
536 | /* Bit 50 Katakana */ |
||
537 | #define TT_UCR_KATAKANA (1L << 18) /* U+30A0-U+30FF */ |
||
538 | /* Bit 51 Bopomofo */ |
||
539 | #define TT_UCR_BOPOMOFO (1L << 19) /* U+3100-U+312F */ |
||
540 | /* Bit 52 Hangul Compatibility Jamo */ |
||
541 | #define TT_UCR_HANGUL_COMPATIBILITY_JAMO (1L << 20) /* U+3130-U+318F */ |
||
542 | /* Bit 53 CJK Miscellaneous */ |
||
543 | #define TT_UCR_CJK_MISC (1L << 21) /* U+3190-U+319F */ |
||
544 | /* Bit 54 Enclosed CJK Letters And Months */ |
||
545 | #define TT_UCR_ENCLOSED_CJK_LETTERS_MONTHS (1L << 22) /* U+3200-U+32FF */ |
||
546 | /* Bit 55 CJK Compatibility */ |
||
547 | #define TT_UCR_CJK_COMPATIBILITY (1L << 23) /* U+3300-U+33FF */ |
||
548 | |||
549 | /* Hangul Syllables Area */ |
||
550 | |||
551 | /* Bit 56 Hangul */ |
||
552 | #define TT_UCR_HANGUL (1L << 24) /* U+AC00-U+D7A3 */ |
||
553 | |||
554 | /* Surrogates Area */ |
||
555 | |||
556 | /* Bit 57 Surrogates */ |
||
557 | #define TT_UCR_SURROGATES (1L << 25) /* U+D800-U+DFFF */ |
||
558 | /* Bit 58 is reserved for Unicode SubRanges */ |
||
559 | |||
560 | /* CJK Ideographs Area */ |
||
561 | |||
562 | /* Bit 59 CJK Unified Ideographs */ |
||
563 | #define TT_UCR_CJK_UNIFIED_IDEOGRAPHS (1L << 27) /* U+4E00-U+9FFF */ |
||
564 | |||
565 | /* Private Use Area */ |
||
566 | |||
567 | /* Bit 60 Private Use */ |
||
568 | #define TT_UCR_PRIVATE_USE (1L << 28) /* U+E000-U+F8FF */ |
||
569 | |||
570 | /* Compatibility Area and Specials */ |
||
571 | |||
572 | /* Bit 61 CJK Compatibility Ideographs */ |
||
573 | #define TT_UCR_CJK_COMPATIBILITY_IDEOGRAPHS (1L << 29) /* U+F900-U+FAFF */ |
||
574 | /* Bit 62 Alphabetic Presentation Forms */ |
||
575 | #define TT_UCR_ALPHABETIC_PRESENTATION_FORMS (1L << 30) /* U+FB00-U+FB4F */ |
||
576 | /* Bit 63 Arabic Presentation Forms-A */ |
||
577 | #define TT_UCR_ARABIC_PRESENTATIONS_A (1L << 31) /* U+FB50-U+FSFF */ |
||
578 | /* Bit 64 Combining Half Marks */ |
||
579 | #define TT_UCR_COMBINING_HALF_MARKS (1L << 0) /* U+FE20-U+FE2F */ |
||
580 | /* Bit 65 CJK Compatibility Forms */ |
||
581 | #define TT_UCR_CJK_COMPATIBILITY_FORMS (1L << 1) /* U+FE30-U+FE4F */ |
||
582 | /* Bit 66 Small Form Variants */ |
||
583 | #define TT_UCR_SMALL_FORM_VARIANTS (1L << 2) /* U+FE50-U+FE6F */ |
||
584 | /* Bit 67 Arabic Presentation Forms-B */ |
||
585 | #define TT_UCR_ARABIC_PRESENTATIONS_B (1L << 3) /* U+FE70-U+FEFF */ |
||
586 | /* Bit 68 Halfwidth And Fullwidth Forms */ |
||
587 | #define TT_UCR_HALFWIDTH_FULLWIDTH_FORMS (1L << 4) /* U+FF00-U+FFEF */ |
||
588 | /* Bit 69 Specials */ |
||
589 | #define TT_UCR_SPECIALS (1L << 5) /* U+FEFF, |
||
590 | U+FFF0-U+FFFF */ |
||
591 | /* Bit 70 Tibetan */ |
||
592 | #define TT_UCR_TIBETAN (1L << 6) /* U+0F00-U+0FBF */ |
||
593 | |||
594 | |||
595 | /* Some compilers have a very limited length of identifiers. */ |
||
596 | #if defined( __TURBOC__ ) && __TURBOC__ < 0x0410 || defined( __PACIFIC__ ) |
||
597 | #define HAVE_LIMIT_ON_IDENTS |
||
598 | #endif |
||
599 | |||
600 | #ifndef HAVE_LIMIT_ON_IDENTS |
||
601 | |||
602 | /* |
||
603 | * Here some alias #defines in order to be clearer. |
||
604 | * |
||
605 | * These are not always #defined to stay within the 31 character limit |
||
606 | * which some compilers have. |
||
607 | * |
||
608 | * Credits go to Dave Hoo |
||
609 | * Borland compilers (read: from BC++ 3.1 on) can increase this limit. |
||
610 | * If you get a warning with such a compiler, use the -i40 switch. |
||
611 | */ |
||
612 | |||
613 | #define TT_UCR_ARABIC_PRESENTATION_FORMS_A \ |
||
614 | TT_UCR_ARABIC_PRESENTATIONS_A |
||
615 | #define TT_UCR_ARABIC_PRESENTATION_FORMS_B \ |
||
616 | TT_UCR_ARABIC_PRESENTATIONS_B |
||
617 | |||
618 | #define TT_UCR_COMBINING_DIACRITICAL_MARKS \ |
||
619 | TT_UCR_COMBINING_DIACRITICS |
||
620 | #define TT_UCR_COMBINING_DIACRITICAL_MARKS_SYMB \ |
||
621 | TT_UCR_COMBINING_DIACRITICS_SYMB |
||
622 | |||
623 | #endif /* ndef HAVE_LIMIT_ON_IDENTS */ |
||
624 | |||
625 | #endif /* FTNAMEID_H */ |
||
626 | |||
627 | |||
628 | /* END */>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><>><> |