rev |
line source |
nuclear@0
|
1 /***************************************************************************/
|
nuclear@0
|
2 /* */
|
nuclear@0
|
3 /* ttnameid.h */
|
nuclear@0
|
4 /* */
|
nuclear@0
|
5 /* TrueType name ID definitions (specification only). */
|
nuclear@0
|
6 /* */
|
nuclear@0
|
7 /* Copyright 1996-2002, 2003, 2004, 2006, 2007, 2008 by */
|
nuclear@0
|
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
nuclear@0
|
9 /* */
|
nuclear@0
|
10 /* This file is part of the FreeType project, and may only be used, */
|
nuclear@0
|
11 /* modified, and distributed under the terms of the FreeType project */
|
nuclear@0
|
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
|
nuclear@0
|
13 /* this file you indicate that you have read the license and */
|
nuclear@0
|
14 /* understand and accept it fully. */
|
nuclear@0
|
15 /* */
|
nuclear@0
|
16 /***************************************************************************/
|
nuclear@0
|
17
|
nuclear@0
|
18
|
nuclear@0
|
19 #ifndef __TTNAMEID_H__
|
nuclear@0
|
20 #define __TTNAMEID_H__
|
nuclear@0
|
21
|
nuclear@0
|
22
|
nuclear@0
|
23 #include <ft2build.h>
|
nuclear@0
|
24
|
nuclear@0
|
25
|
nuclear@0
|
26 FT_BEGIN_HEADER
|
nuclear@0
|
27
|
nuclear@0
|
28
|
nuclear@0
|
29 /*************************************************************************/
|
nuclear@0
|
30 /* */
|
nuclear@0
|
31 /* <Section> */
|
nuclear@0
|
32 /* truetype_tables */
|
nuclear@0
|
33 /* */
|
nuclear@0
|
34
|
nuclear@0
|
35
|
nuclear@0
|
36 /*************************************************************************/
|
nuclear@0
|
37 /* */
|
nuclear@0
|
38 /* Possible values for the `platform' identifier code in the name */
|
nuclear@0
|
39 /* records of the TTF `name' table. */
|
nuclear@0
|
40 /* */
|
nuclear@0
|
41 /*************************************************************************/
|
nuclear@0
|
42
|
nuclear@0
|
43
|
nuclear@0
|
44 /***********************************************************************
|
nuclear@0
|
45 *
|
nuclear@0
|
46 * @enum:
|
nuclear@0
|
47 * TT_PLATFORM_XXX
|
nuclear@0
|
48 *
|
nuclear@0
|
49 * @description:
|
nuclear@0
|
50 * A list of valid values for the `platform_id' identifier code in
|
nuclear@0
|
51 * @FT_CharMapRec and @FT_SfntName structures.
|
nuclear@0
|
52 *
|
nuclear@0
|
53 * @values:
|
nuclear@0
|
54 * TT_PLATFORM_APPLE_UNICODE ::
|
nuclear@0
|
55 * Used by Apple to indicate a Unicode character map and/or name entry.
|
nuclear@0
|
56 * See @TT_APPLE_ID_XXX for corresponding `encoding_id' values. Note
|
nuclear@0
|
57 * that name entries in this format are coded as big-endian UCS-2
|
nuclear@0
|
58 * character codes _only_.
|
nuclear@0
|
59 *
|
nuclear@0
|
60 * TT_PLATFORM_MACINTOSH ::
|
nuclear@0
|
61 * Used by Apple to indicate a MacOS-specific charmap and/or name entry.
|
nuclear@0
|
62 * See @TT_MAC_ID_XXX for corresponding `encoding_id' values. Note that
|
nuclear@0
|
63 * most TrueType fonts contain an Apple roman charmap to be usable on
|
nuclear@0
|
64 * MacOS systems (even if they contain a Microsoft charmap as well).
|
nuclear@0
|
65 *
|
nuclear@0
|
66 * TT_PLATFORM_ISO ::
|
nuclear@0
|
67 * This value was used to specify ISO/IEC 10646 charmaps. It is however
|
nuclear@0
|
68 * now deprecated. See @TT_ISO_ID_XXX for a list of corresponding
|
nuclear@0
|
69 * `encoding_id' values.
|
nuclear@0
|
70 *
|
nuclear@0
|
71 * TT_PLATFORM_MICROSOFT ::
|
nuclear@0
|
72 * Used by Microsoft to indicate Windows-specific charmaps. See
|
nuclear@0
|
73 * @TT_MS_ID_XXX for a list of corresponding `encoding_id' values.
|
nuclear@0
|
74 * Note that most fonts contain a Unicode charmap using
|
nuclear@0
|
75 * (TT_PLATFORM_MICROSOFT, @TT_MS_ID_UNICODE_CS).
|
nuclear@0
|
76 *
|
nuclear@0
|
77 * TT_PLATFORM_CUSTOM ::
|
nuclear@0
|
78 * Used to indicate application-specific charmaps.
|
nuclear@0
|
79 *
|
nuclear@0
|
80 * TT_PLATFORM_ADOBE ::
|
nuclear@0
|
81 * This value isn't part of any font format specification, but is used
|
nuclear@0
|
82 * by FreeType to report Adobe-specific charmaps in an @FT_CharMapRec
|
nuclear@0
|
83 * structure. See @TT_ADOBE_ID_XXX.
|
nuclear@0
|
84 */
|
nuclear@0
|
85
|
nuclear@0
|
86 #define TT_PLATFORM_APPLE_UNICODE 0
|
nuclear@0
|
87 #define TT_PLATFORM_MACINTOSH 1
|
nuclear@0
|
88 #define TT_PLATFORM_ISO 2 /* deprecated */
|
nuclear@0
|
89 #define TT_PLATFORM_MICROSOFT 3
|
nuclear@0
|
90 #define TT_PLATFORM_CUSTOM 4
|
nuclear@0
|
91 #define TT_PLATFORM_ADOBE 7 /* artificial */
|
nuclear@0
|
92
|
nuclear@0
|
93
|
nuclear@0
|
94 /***********************************************************************
|
nuclear@0
|
95 *
|
nuclear@0
|
96 * @enum:
|
nuclear@0
|
97 * TT_APPLE_ID_XXX
|
nuclear@0
|
98 *
|
nuclear@0
|
99 * @description:
|
nuclear@0
|
100 * A list of valid values for the `encoding_id' for
|
nuclear@0
|
101 * @TT_PLATFORM_APPLE_UNICODE charmaps and name entries.
|
nuclear@0
|
102 *
|
nuclear@0
|
103 * @values:
|
nuclear@0
|
104 * TT_APPLE_ID_DEFAULT ::
|
nuclear@0
|
105 * Unicode version 1.0.
|
nuclear@0
|
106 *
|
nuclear@0
|
107 * TT_APPLE_ID_UNICODE_1_1 ::
|
nuclear@0
|
108 * Unicode 1.1; specifies Hangul characters starting at U+34xx.
|
nuclear@0
|
109 *
|
nuclear@0
|
110 * TT_APPLE_ID_ISO_10646 ::
|
nuclear@0
|
111 * Deprecated (identical to preceding).
|
nuclear@0
|
112 *
|
nuclear@0
|
113 * TT_APPLE_ID_UNICODE_2_0 ::
|
nuclear@0
|
114 * Unicode 2.0 and beyond (UTF-16 BMP only).
|
nuclear@0
|
115 *
|
nuclear@0
|
116 * TT_APPLE_ID_UNICODE_32 ::
|
nuclear@0
|
117 * Unicode 3.1 and beyond, using UTF-32.
|
nuclear@0
|
118 *
|
nuclear@0
|
119 * TT_APPLE_ID_VARIANT_SELECTOR ::
|
nuclear@0
|
120 * From Adobe, not Apple. Not a normal cmap. Specifies variations
|
nuclear@0
|
121 * on a real cmap.
|
nuclear@0
|
122 */
|
nuclear@0
|
123
|
nuclear@0
|
124 #define TT_APPLE_ID_DEFAULT 0 /* Unicode 1.0 */
|
nuclear@0
|
125 #define TT_APPLE_ID_UNICODE_1_1 1 /* specify Hangul at U+34xx */
|
nuclear@0
|
126 #define TT_APPLE_ID_ISO_10646 2 /* deprecated */
|
nuclear@0
|
127 #define TT_APPLE_ID_UNICODE_2_0 3 /* or later */
|
nuclear@0
|
128 #define TT_APPLE_ID_UNICODE_32 4 /* 2.0 or later, full repertoire */
|
nuclear@0
|
129 #define TT_APPLE_ID_VARIANT_SELECTOR 5 /* variation selector data */
|
nuclear@0
|
130
|
nuclear@0
|
131
|
nuclear@0
|
132 /***********************************************************************
|
nuclear@0
|
133 *
|
nuclear@0
|
134 * @enum:
|
nuclear@0
|
135 * TT_MAC_ID_XXX
|
nuclear@0
|
136 *
|
nuclear@0
|
137 * @description:
|
nuclear@0
|
138 * A list of valid values for the `encoding_id' for
|
nuclear@0
|
139 * @TT_PLATFORM_MACINTOSH charmaps and name entries.
|
nuclear@0
|
140 *
|
nuclear@0
|
141 * @values:
|
nuclear@0
|
142 * TT_MAC_ID_ROMAN ::
|
nuclear@0
|
143 * TT_MAC_ID_JAPANESE ::
|
nuclear@0
|
144 * TT_MAC_ID_TRADITIONAL_CHINESE ::
|
nuclear@0
|
145 * TT_MAC_ID_KOREAN ::
|
nuclear@0
|
146 * TT_MAC_ID_ARABIC ::
|
nuclear@0
|
147 * TT_MAC_ID_HEBREW ::
|
nuclear@0
|
148 * TT_MAC_ID_GREEK ::
|
nuclear@0
|
149 * TT_MAC_ID_RUSSIAN ::
|
nuclear@0
|
150 * TT_MAC_ID_RSYMBOL ::
|
nuclear@0
|
151 * TT_MAC_ID_DEVANAGARI ::
|
nuclear@0
|
152 * TT_MAC_ID_GURMUKHI ::
|
nuclear@0
|
153 * TT_MAC_ID_GUJARATI ::
|
nuclear@0
|
154 * TT_MAC_ID_ORIYA ::
|
nuclear@0
|
155 * TT_MAC_ID_BENGALI ::
|
nuclear@0
|
156 * TT_MAC_ID_TAMIL ::
|
nuclear@0
|
157 * TT_MAC_ID_TELUGU ::
|
nuclear@0
|
158 * TT_MAC_ID_KANNADA ::
|
nuclear@0
|
159 * TT_MAC_ID_MALAYALAM ::
|
nuclear@0
|
160 * TT_MAC_ID_SINHALESE ::
|
nuclear@0
|
161 * TT_MAC_ID_BURMESE ::
|
nuclear@0
|
162 * TT_MAC_ID_KHMER ::
|
nuclear@0
|
163 * TT_MAC_ID_THAI ::
|
nuclear@0
|
164 * TT_MAC_ID_LAOTIAN ::
|
nuclear@0
|
165 * TT_MAC_ID_GEORGIAN ::
|
nuclear@0
|
166 * TT_MAC_ID_ARMENIAN ::
|
nuclear@0
|
167 * TT_MAC_ID_MALDIVIAN ::
|
nuclear@0
|
168 * TT_MAC_ID_SIMPLIFIED_CHINESE ::
|
nuclear@0
|
169 * TT_MAC_ID_TIBETAN ::
|
nuclear@0
|
170 * TT_MAC_ID_MONGOLIAN ::
|
nuclear@0
|
171 * TT_MAC_ID_GEEZ ::
|
nuclear@0
|
172 * TT_MAC_ID_SLAVIC ::
|
nuclear@0
|
173 * TT_MAC_ID_VIETNAMESE ::
|
nuclear@0
|
174 * TT_MAC_ID_SINDHI ::
|
nuclear@0
|
175 * TT_MAC_ID_UNINTERP ::
|
nuclear@0
|
176 */
|
nuclear@0
|
177
|
nuclear@0
|
178 #define TT_MAC_ID_ROMAN 0
|
nuclear@0
|
179 #define TT_MAC_ID_JAPANESE 1
|
nuclear@0
|
180 #define TT_MAC_ID_TRADITIONAL_CHINESE 2
|
nuclear@0
|
181 #define TT_MAC_ID_KOREAN 3
|
nuclear@0
|
182 #define TT_MAC_ID_ARABIC 4
|
nuclear@0
|
183 #define TT_MAC_ID_HEBREW 5
|
nuclear@0
|
184 #define TT_MAC_ID_GREEK 6
|
nuclear@0
|
185 #define TT_MAC_ID_RUSSIAN 7
|
nuclear@0
|
186 #define TT_MAC_ID_RSYMBOL 8
|
nuclear@0
|
187 #define TT_MAC_ID_DEVANAGARI 9
|
nuclear@0
|
188 #define TT_MAC_ID_GURMUKHI 10
|
nuclear@0
|
189 #define TT_MAC_ID_GUJARATI 11
|
nuclear@0
|
190 #define TT_MAC_ID_ORIYA 12
|
nuclear@0
|
191 #define TT_MAC_ID_BENGALI 13
|
nuclear@0
|
192 #define TT_MAC_ID_TAMIL 14
|
nuclear@0
|
193 #define TT_MAC_ID_TELUGU 15
|
nuclear@0
|
194 #define TT_MAC_ID_KANNADA 16
|
nuclear@0
|
195 #define TT_MAC_ID_MALAYALAM 17
|
nuclear@0
|
196 #define TT_MAC_ID_SINHALESE 18
|
nuclear@0
|
197 #define TT_MAC_ID_BURMESE 19
|
nuclear@0
|
198 #define TT_MAC_ID_KHMER 20
|
nuclear@0
|
199 #define TT_MAC_ID_THAI 21
|
nuclear@0
|
200 #define TT_MAC_ID_LAOTIAN 22
|
nuclear@0
|
201 #define TT_MAC_ID_GEORGIAN 23
|
nuclear@0
|
202 #define TT_MAC_ID_ARMENIAN 24
|
nuclear@0
|
203 #define TT_MAC_ID_MALDIVIAN 25
|
nuclear@0
|
204 #define TT_MAC_ID_SIMPLIFIED_CHINESE 25
|
nuclear@0
|
205 #define TT_MAC_ID_TIBETAN 26
|
nuclear@0
|
206 #define TT_MAC_ID_MONGOLIAN 27
|
nuclear@0
|
207 #define TT_MAC_ID_GEEZ 28
|
nuclear@0
|
208 #define TT_MAC_ID_SLAVIC 29
|
nuclear@0
|
209 #define TT_MAC_ID_VIETNAMESE 30
|
nuclear@0
|
210 #define TT_MAC_ID_SINDHI 31
|
nuclear@0
|
211 #define TT_MAC_ID_UNINTERP 32
|
nuclear@0
|
212
|
nuclear@0
|
213
|
nuclear@0
|
214 /***********************************************************************
|
nuclear@0
|
215 *
|
nuclear@0
|
216 * @enum:
|
nuclear@0
|
217 * TT_ISO_ID_XXX
|
nuclear@0
|
218 *
|
nuclear@0
|
219 * @description:
|
nuclear@0
|
220 * A list of valid values for the `encoding_id' for
|
nuclear@0
|
221 * @TT_PLATFORM_ISO charmaps and name entries.
|
nuclear@0
|
222 *
|
nuclear@0
|
223 * Their use is now deprecated.
|
nuclear@0
|
224 *
|
nuclear@0
|
225 * @values:
|
nuclear@0
|
226 * TT_ISO_ID_7BIT_ASCII ::
|
nuclear@0
|
227 * ASCII.
|
nuclear@0
|
228 * TT_ISO_ID_10646 ::
|
nuclear@0
|
229 * ISO/10646.
|
nuclear@0
|
230 * TT_ISO_ID_8859_1 ::
|
nuclear@0
|
231 * Also known as Latin-1.
|
nuclear@0
|
232 */
|
nuclear@0
|
233
|
nuclear@0
|
234 #define TT_ISO_ID_7BIT_ASCII 0
|
nuclear@0
|
235 #define TT_ISO_ID_10646 1
|
nuclear@0
|
236 #define TT_ISO_ID_8859_1 2
|
nuclear@0
|
237
|
nuclear@0
|
238
|
nuclear@0
|
239 /***********************************************************************
|
nuclear@0
|
240 *
|
nuclear@0
|
241 * @enum:
|
nuclear@0
|
242 * TT_MS_ID_XXX
|
nuclear@0
|
243 *
|
nuclear@0
|
244 * @description:
|
nuclear@0
|
245 * A list of valid values for the `encoding_id' for
|
nuclear@0
|
246 * @TT_PLATFORM_MICROSOFT charmaps and name entries.
|
nuclear@0
|
247 *
|
nuclear@0
|
248 * @values:
|
nuclear@0
|
249 * TT_MS_ID_SYMBOL_CS ::
|
nuclear@0
|
250 * Corresponds to Microsoft symbol encoding. See
|
nuclear@0
|
251 * @FT_ENCODING_MS_SYMBOL.
|
nuclear@0
|
252 *
|
nuclear@0
|
253 * TT_MS_ID_UNICODE_CS ::
|
nuclear@0
|
254 * Corresponds to a Microsoft WGL4 charmap, matching Unicode. See
|
nuclear@0
|
255 * @FT_ENCODING_UNICODE.
|
nuclear@0
|
256 *
|
nuclear@0
|
257 * TT_MS_ID_SJIS ::
|
nuclear@0
|
258 * Corresponds to SJIS Japanese encoding. See @FT_ENCODING_SJIS.
|
nuclear@0
|
259 *
|
nuclear@0
|
260 * TT_MS_ID_GB2312 ::
|
nuclear@0
|
261 * Corresponds to Simplified Chinese as used in Mainland China. See
|
nuclear@0
|
262 * @FT_ENCODING_GB2312.
|
nuclear@0
|
263 *
|
nuclear@0
|
264 * TT_MS_ID_BIG_5 ::
|
nuclear@0
|
265 * Corresponds to Traditional Chinese as used in Taiwan and Hong Kong.
|
nuclear@0
|
266 * See @FT_ENCODING_BIG5.
|
nuclear@0
|
267 *
|
nuclear@0
|
268 * TT_MS_ID_WANSUNG ::
|
nuclear@0
|
269 * Corresponds to Korean Wansung encoding. See @FT_ENCODING_WANSUNG.
|
nuclear@0
|
270 *
|
nuclear@0
|
271 * TT_MS_ID_JOHAB ::
|
nuclear@0
|
272 * Corresponds to Johab encoding. See @FT_ENCODING_JOHAB.
|
nuclear@0
|
273 *
|
nuclear@0
|
274 * TT_MS_ID_UCS_4 ::
|
nuclear@0
|
275 * Corresponds to UCS-4 or UTF-32 charmaps. This has been added to
|
nuclear@0
|
276 * the OpenType specification version 1.4 (mid-2001.)
|
nuclear@0
|
277 */
|
nuclear@0
|
278
|
nuclear@0
|
279 #define TT_MS_ID_SYMBOL_CS 0
|
nuclear@0
|
280 #define TT_MS_ID_UNICODE_CS 1
|
nuclear@0
|
281 #define TT_MS_ID_SJIS 2
|
nuclear@0
|
282 #define TT_MS_ID_GB2312 3
|
nuclear@0
|
283 #define TT_MS_ID_BIG_5 4
|
nuclear@0
|
284 #define TT_MS_ID_WANSUNG 5
|
nuclear@0
|
285 #define TT_MS_ID_JOHAB 6
|
nuclear@0
|
286 #define TT_MS_ID_UCS_4 10
|
nuclear@0
|
287
|
nuclear@0
|
288
|
nuclear@0
|
289 /***********************************************************************
|
nuclear@0
|
290 *
|
nuclear@0
|
291 * @enum:
|
nuclear@0
|
292 * TT_ADOBE_ID_XXX
|
nuclear@0
|
293 *
|
nuclear@0
|
294 * @description:
|
nuclear@0
|
295 * A list of valid values for the `encoding_id' for
|
nuclear@0
|
296 * @TT_PLATFORM_ADOBE charmaps. This is a FreeType-specific extension!
|
nuclear@0
|
297 *
|
nuclear@0
|
298 * @values:
|
nuclear@0
|
299 * TT_ADOBE_ID_STANDARD ::
|
nuclear@0
|
300 * Adobe standard encoding.
|
nuclear@0
|
301 * TT_ADOBE_ID_EXPERT ::
|
nuclear@0
|
302 * Adobe expert encoding.
|
nuclear@0
|
303 * TT_ADOBE_ID_CUSTOM ::
|
nuclear@0
|
304 * Adobe custom encoding.
|
nuclear@0
|
305 * TT_ADOBE_ID_LATIN_1 ::
|
nuclear@0
|
306 * Adobe Latin~1 encoding.
|
nuclear@0
|
307 */
|
nuclear@0
|
308
|
nuclear@0
|
309 #define TT_ADOBE_ID_STANDARD 0
|
nuclear@0
|
310 #define TT_ADOBE_ID_EXPERT 1
|
nuclear@0
|
311 #define TT_ADOBE_ID_CUSTOM 2
|
nuclear@0
|
312 #define TT_ADOBE_ID_LATIN_1 3
|
nuclear@0
|
313
|
nuclear@0
|
314
|
nuclear@0
|
315 /*************************************************************************/
|
nuclear@0
|
316 /* */
|
nuclear@0
|
317 /* Possible values of the language identifier field in the name records */
|
nuclear@0
|
318 /* of the TTF `name' table if the `platform' identifier code is */
|
nuclear@0
|
319 /* TT_PLATFORM_MACINTOSH. */
|
nuclear@0
|
320 /* */
|
nuclear@0
|
321 /* The canonical source for the Apple assigned Language ID's is at */
|
nuclear@0
|
322 /* */
|
nuclear@0
|
323 /* http://fonts.apple.com/TTRefMan/RM06/Chap6name.html */
|
nuclear@0
|
324 /* */
|
nuclear@0
|
325 #define TT_MAC_LANGID_ENGLISH 0
|
nuclear@0
|
326 #define TT_MAC_LANGID_FRENCH 1
|
nuclear@0
|
327 #define TT_MAC_LANGID_GERMAN 2
|
nuclear@0
|
328 #define TT_MAC_LANGID_ITALIAN 3
|
nuclear@0
|
329 #define TT_MAC_LANGID_DUTCH 4
|
nuclear@0
|
330 #define TT_MAC_LANGID_SWEDISH 5
|
nuclear@0
|
331 #define TT_MAC_LANGID_SPANISH 6
|
nuclear@0
|
332 #define TT_MAC_LANGID_DANISH 7
|
nuclear@0
|
333 #define TT_MAC_LANGID_PORTUGUESE 8
|
nuclear@0
|
334 #define TT_MAC_LANGID_NORWEGIAN 9
|
nuclear@0
|
335 #define TT_MAC_LANGID_HEBREW 10
|
nuclear@0
|
336 #define TT_MAC_LANGID_JAPANESE 11
|
nuclear@0
|
337 #define TT_MAC_LANGID_ARABIC 12
|
nuclear@0
|
338 #define TT_MAC_LANGID_FINNISH 13
|
nuclear@0
|
339 #define TT_MAC_LANGID_GREEK 14
|
nuclear@0
|
340 #define TT_MAC_LANGID_ICELANDIC 15
|
nuclear@0
|
341 #define TT_MAC_LANGID_MALTESE 16
|
nuclear@0
|
342 #define TT_MAC_LANGID_TURKISH 17
|
nuclear@0
|
343 #define TT_MAC_LANGID_CROATIAN 18
|
nuclear@0
|
344 #define TT_MAC_LANGID_CHINESE_TRADITIONAL 19
|
nuclear@0
|
345 #define TT_MAC_LANGID_URDU 20
|
nuclear@0
|
346 #define TT_MAC_LANGID_HINDI 21
|
nuclear@0
|
347 #define TT_MAC_LANGID_THAI 22
|
nuclear@0
|
348 #define TT_MAC_LANGID_KOREAN 23
|
nuclear@0
|
349 #define TT_MAC_LANGID_LITHUANIAN 24
|
nuclear@0
|
350 #define TT_MAC_LANGID_POLISH 25
|
nuclear@0
|
351 #define TT_MAC_LANGID_HUNGARIAN 26
|
nuclear@0
|
352 #define TT_MAC_LANGID_ESTONIAN 27
|
nuclear@0
|
353 #define TT_MAC_LANGID_LETTISH 28
|
nuclear@0
|
354 #define TT_MAC_LANGID_SAAMISK 29
|
nuclear@0
|
355 #define TT_MAC_LANGID_FAEROESE 30
|
nuclear@0
|
356 #define TT_MAC_LANGID_FARSI 31
|
nuclear@0
|
357 #define TT_MAC_LANGID_RUSSIAN 32
|
nuclear@0
|
358 #define TT_MAC_LANGID_CHINESE_SIMPLIFIED 33
|
nuclear@0
|
359 #define TT_MAC_LANGID_FLEMISH 34
|
nuclear@0
|
360 #define TT_MAC_LANGID_IRISH 35
|
nuclear@0
|
361 #define TT_MAC_LANGID_ALBANIAN 36
|
nuclear@0
|
362 #define TT_MAC_LANGID_ROMANIAN 37
|
nuclear@0
|
363 #define TT_MAC_LANGID_CZECH 38
|
nuclear@0
|
364 #define TT_MAC_LANGID_SLOVAK 39
|
nuclear@0
|
365 #define TT_MAC_LANGID_SLOVENIAN 40
|
nuclear@0
|
366 #define TT_MAC_LANGID_YIDDISH 41
|
nuclear@0
|
367 #define TT_MAC_LANGID_SERBIAN 42
|
nuclear@0
|
368 #define TT_MAC_LANGID_MACEDONIAN 43
|
nuclear@0
|
369 #define TT_MAC_LANGID_BULGARIAN 44
|
nuclear@0
|
370 #define TT_MAC_LANGID_UKRAINIAN 45
|
nuclear@0
|
371 #define TT_MAC_LANGID_BYELORUSSIAN 46
|
nuclear@0
|
372 #define TT_MAC_LANGID_UZBEK 47
|
nuclear@0
|
373 #define TT_MAC_LANGID_KAZAKH 48
|
nuclear@0
|
374 #define TT_MAC_LANGID_AZERBAIJANI 49
|
nuclear@0
|
375 #define TT_MAC_LANGID_AZERBAIJANI_CYRILLIC_SCRIPT 49
|
nuclear@0
|
376 #define TT_MAC_LANGID_AZERBAIJANI_ARABIC_SCRIPT 50
|
nuclear@0
|
377 #define TT_MAC_LANGID_ARMENIAN 51
|
nuclear@0
|
378 #define TT_MAC_LANGID_GEORGIAN 52
|
nuclear@0
|
379 #define TT_MAC_LANGID_MOLDAVIAN 53
|
nuclear@0
|
380 #define TT_MAC_LANGID_KIRGHIZ 54
|
nuclear@0
|
381 #define TT_MAC_LANGID_TAJIKI 55
|
nuclear@0
|
382 #define TT_MAC_LANGID_TURKMEN 56
|
nuclear@0
|
383 #define TT_MAC_LANGID_MONGOLIAN 57
|
nuclear@0
|
384 #define TT_MAC_LANGID_MONGOLIAN_MONGOLIAN_SCRIPT 57
|
nuclear@0
|
385 #define TT_MAC_LANGID_MONGOLIAN_CYRILLIC_SCRIPT 58
|
nuclear@0
|
386 #define TT_MAC_LANGID_PASHTO 59
|
nuclear@0
|
387 #define TT_MAC_LANGID_KURDISH 60
|
nuclear@0
|
388 #define TT_MAC_LANGID_KASHMIRI 61
|
nuclear@0
|
389 #define TT_MAC_LANGID_SINDHI 62
|
nuclear@0
|
390 #define TT_MAC_LANGID_TIBETAN 63
|
nuclear@0
|
391 #define TT_MAC_LANGID_NEPALI 64
|
nuclear@0
|
392 #define TT_MAC_LANGID_SANSKRIT 65
|
nuclear@0
|
393 #define TT_MAC_LANGID_MARATHI 66
|
nuclear@0
|
394 #define TT_MAC_LANGID_BENGALI 67
|
nuclear@0
|
395 #define TT_MAC_LANGID_ASSAMESE 68
|
nuclear@0
|
396 #define TT_MAC_LANGID_GUJARATI 69
|
nuclear@0
|
397 #define TT_MAC_LANGID_PUNJABI 70
|
nuclear@0
|
398 #define TT_MAC_LANGID_ORIYA 71
|
nuclear@0
|
399 #define TT_MAC_LANGID_MALAYALAM 72
|
nuclear@0
|
400 #define TT_MAC_LANGID_KANNADA 73
|
nuclear@0
|
401 #define TT_MAC_LANGID_TAMIL 74
|
nuclear@0
|
402 #define TT_MAC_LANGID_TELUGU 75
|
nuclear@0
|
403 #define TT_MAC_LANGID_SINHALESE 76
|
nuclear@0
|
404 #define TT_MAC_LANGID_BURMESE 77
|
nuclear@0
|
405 #define TT_MAC_LANGID_KHMER 78
|
nuclear@0
|
406 #define TT_MAC_LANGID_LAO 79
|
nuclear@0
|
407 #define TT_MAC_LANGID_VIETNAMESE 80
|
nuclear@0
|
408 #define TT_MAC_LANGID_INDONESIAN 81
|
nuclear@0
|
409 #define TT_MAC_LANGID_TAGALOG 82
|
nuclear@0
|
410 #define TT_MAC_LANGID_MALAY_ROMAN_SCRIPT 83
|
nuclear@0
|
411 #define TT_MAC_LANGID_MALAY_ARABIC_SCRIPT 84
|
nuclear@0
|
412 #define TT_MAC_LANGID_AMHARIC 85
|
nuclear@0
|
413 #define TT_MAC_LANGID_TIGRINYA 86
|
nuclear@0
|
414 #define TT_MAC_LANGID_GALLA 87
|
nuclear@0
|
415 #define TT_MAC_LANGID_SOMALI 88
|
nuclear@0
|
416 #define TT_MAC_LANGID_SWAHILI 89
|
nuclear@0
|
417 #define TT_MAC_LANGID_RUANDA 90
|
nuclear@0
|
418 #define TT_MAC_LANGID_RUNDI 91
|
nuclear@0
|
419 #define TT_MAC_LANGID_CHEWA 92
|
nuclear@0
|
420 #define TT_MAC_LANGID_MALAGASY 93
|
nuclear@0
|
421 #define TT_MAC_LANGID_ESPERANTO 94
|
nuclear@0
|
422 #define TT_MAC_LANGID_WELSH 128
|
nuclear@0
|
423 #define TT_MAC_LANGID_BASQUE 129
|
nuclear@0
|
424 #define TT_MAC_LANGID_CATALAN 130
|
nuclear@0
|
425 #define TT_MAC_LANGID_LATIN 131
|
nuclear@0
|
426 #define TT_MAC_LANGID_QUECHUA 132
|
nuclear@0
|
427 #define TT_MAC_LANGID_GUARANI 133
|
nuclear@0
|
428 #define TT_MAC_LANGID_AYMARA 134
|
nuclear@0
|
429 #define TT_MAC_LANGID_TATAR 135
|
nuclear@0
|
430 #define TT_MAC_LANGID_UIGHUR 136
|
nuclear@0
|
431 #define TT_MAC_LANGID_DZONGKHA 137
|
nuclear@0
|
432 #define TT_MAC_LANGID_JAVANESE 138
|
nuclear@0
|
433 #define TT_MAC_LANGID_SUNDANESE 139
|
nuclear@0
|
434
|
nuclear@0
|
435
|
nuclear@0
|
436 #if 0 /* these seem to be errors that have been dropped */
|
nuclear@0
|
437
|
nuclear@0
|
438 #define TT_MAC_LANGID_SCOTTISH_GAELIC 140
|
nuclear@0
|
439 #define TT_MAC_LANGID_IRISH_GAELIC 141
|
nuclear@0
|
440
|
nuclear@0
|
441 #endif
|
nuclear@0
|
442
|
nuclear@0
|
443
|
nuclear@0
|
444 /* The following codes are new as of 2000-03-10 */
|
nuclear@0
|
445 #define TT_MAC_LANGID_GALICIAN 140
|
nuclear@0
|
446 #define TT_MAC_LANGID_AFRIKAANS 141
|
nuclear@0
|
447 #define TT_MAC_LANGID_BRETON 142
|
nuclear@0
|
448 #define TT_MAC_LANGID_INUKTITUT 143
|
nuclear@0
|
449 #define TT_MAC_LANGID_SCOTTISH_GAELIC 144
|
nuclear@0
|
450 #define TT_MAC_LANGID_MANX_GAELIC 145
|
nuclear@0
|
451 #define TT_MAC_LANGID_IRISH_GAELIC 146
|
nuclear@0
|
452 #define TT_MAC_LANGID_TONGAN 147
|
nuclear@0
|
453 #define TT_MAC_LANGID_GREEK_POLYTONIC 148
|
nuclear@0
|
454 #define TT_MAC_LANGID_GREELANDIC 149
|
nuclear@0
|
455 #define TT_MAC_LANGID_AZERBAIJANI_ROMAN_SCRIPT 150
|
nuclear@0
|
456
|
nuclear@0
|
457
|
nuclear@0
|
458 /*************************************************************************/
|
nuclear@0
|
459 /* */
|
nuclear@0
|
460 /* Possible values of the language identifier field in the name records */
|
nuclear@0
|
461 /* of the TTF `name' table if the `platform' identifier code is */
|
nuclear@0
|
462 /* TT_PLATFORM_MICROSOFT. */
|
nuclear@0
|
463 /* */
|
nuclear@0
|
464 /* The canonical source for the MS assigned LCID's (seems to) be at */
|
nuclear@0
|
465 /* */
|
nuclear@0
|
466 /* http://www.microsoft.com/globaldev/reference/lcid-all.mspx */
|
nuclear@0
|
467 /* */
|
nuclear@0
|
468 /* It used to be at various places, among them */
|
nuclear@0
|
469 /* */
|
nuclear@0
|
470 /* http://www.microsoft.com/typography/OTSPEC/lcid-cp.txt */
|
nuclear@0
|
471 /* http://www.microsoft.com/globaldev/reference/loclanghome.asp */
|
nuclear@0
|
472 /* http://support.microsoft.com/support/kb/articles/Q224/8/04.ASP */
|
nuclear@0
|
473 /* http://msdn.microsoft.com/library/en-us/passport25/ */
|
nuclear@0
|
474 /* NET_Passport_VBScript_Documentation/Single_Sign_In/ */
|
nuclear@0
|
475 /* Advanced_Single_Sign_In/Localization_and_LCIDs.asp */
|
nuclear@0
|
476 /* */
|
nuclear@0
|
477 /* Hopefully, it seems now that the Globaldev site prevails... */
|
nuclear@0
|
478 /* (updated by Antoine, 2004-02-17) */
|
nuclear@0
|
479
|
nuclear@0
|
480 #define TT_MS_LANGID_ARABIC_GENERAL 0x0001
|
nuclear@0
|
481 #define TT_MS_LANGID_ARABIC_SAUDI_ARABIA 0x0401
|
nuclear@0
|
482 #define TT_MS_LANGID_ARABIC_IRAQ 0x0801
|
nuclear@0
|
483 #define TT_MS_LANGID_ARABIC_EGYPT 0x0c01
|
nuclear@0
|
484 #define TT_MS_LANGID_ARABIC_LIBYA 0x1001
|
nuclear@0
|
485 #define TT_MS_LANGID_ARABIC_ALGERIA 0x1401
|
nuclear@0
|
486 #define TT_MS_LANGID_ARABIC_MOROCCO 0x1801
|
nuclear@0
|
487 #define TT_MS_LANGID_ARABIC_TUNISIA 0x1c01
|
nuclear@0
|
488 #define TT_MS_LANGID_ARABIC_OMAN 0x2001
|
nuclear@0
|
489 #define TT_MS_LANGID_ARABIC_YEMEN 0x2401
|
nuclear@0
|
490 #define TT_MS_LANGID_ARABIC_SYRIA 0x2801
|
nuclear@0
|
491 #define TT_MS_LANGID_ARABIC_JORDAN 0x2c01
|
nuclear@0
|
492 #define TT_MS_LANGID_ARABIC_LEBANON 0x3001
|
nuclear@0
|
493 #define TT_MS_LANGID_ARABIC_KUWAIT 0x3401
|
nuclear@0
|
494 #define TT_MS_LANGID_ARABIC_UAE 0x3801
|
nuclear@0
|
495 #define TT_MS_LANGID_ARABIC_BAHRAIN 0x3c01
|
nuclear@0
|
496 #define TT_MS_LANGID_ARABIC_QATAR 0x4001
|
nuclear@0
|
497 #define TT_MS_LANGID_BULGARIAN_BULGARIA 0x0402
|
nuclear@0
|
498 #define TT_MS_LANGID_CATALAN_SPAIN 0x0403
|
nuclear@0
|
499 #define TT_MS_LANGID_CHINESE_GENERAL 0x0004
|
nuclear@0
|
500 #define TT_MS_LANGID_CHINESE_TAIWAN 0x0404
|
nuclear@0
|
501 #define TT_MS_LANGID_CHINESE_PRC 0x0804
|
nuclear@0
|
502 #define TT_MS_LANGID_CHINESE_HONG_KONG 0x0c04
|
nuclear@0
|
503 #define TT_MS_LANGID_CHINESE_SINGAPORE 0x1004
|
nuclear@0
|
504
|
nuclear@0
|
505 #if 1 /* this looks like the correct value */
|
nuclear@0
|
506 #define TT_MS_LANGID_CHINESE_MACAU 0x1404
|
nuclear@0
|
507 #else /* but beware, Microsoft may change its mind...
|
nuclear@0
|
508 the most recent Word reference has the following: */
|
nuclear@0
|
509 #define TT_MS_LANGID_CHINESE_MACAU TT_MS_LANGID_CHINESE_HONG_KONG
|
nuclear@0
|
510 #endif
|
nuclear@0
|
511
|
nuclear@0
|
512 #if 0 /* used only with .NET `cultures'; commented out */
|
nuclear@0
|
513 #define TT_MS_LANGID_CHINESE_TRADITIONAL 0x7C04
|
nuclear@0
|
514 #endif
|
nuclear@0
|
515
|
nuclear@0
|
516 #define TT_MS_LANGID_CZECH_CZECH_REPUBLIC 0x0405
|
nuclear@0
|
517 #define TT_MS_LANGID_DANISH_DENMARK 0x0406
|
nuclear@0
|
518 #define TT_MS_LANGID_GERMAN_GERMANY 0x0407
|
nuclear@0
|
519 #define TT_MS_LANGID_GERMAN_SWITZERLAND 0x0807
|
nuclear@0
|
520 #define TT_MS_LANGID_GERMAN_AUSTRIA 0x0c07
|
nuclear@0
|
521 #define TT_MS_LANGID_GERMAN_LUXEMBOURG 0x1007
|
nuclear@0
|
522 #define TT_MS_LANGID_GERMAN_LIECHTENSTEI 0x1407
|
nuclear@0
|
523 #define TT_MS_LANGID_GREEK_GREECE 0x0408
|
nuclear@0
|
524
|
nuclear@0
|
525 /* don't ask what this one means... It is commented out currently. */
|
nuclear@0
|
526 #if 0
|
nuclear@0
|
527 #define TT_MS_LANGID_GREEK_GREECE2 0x2008
|
nuclear@0
|
528 #endif
|
nuclear@0
|
529
|
nuclear@0
|
530 #define TT_MS_LANGID_ENGLISH_GENERAL 0x0009
|
nuclear@0
|
531 #define TT_MS_LANGID_ENGLISH_UNITED_STATES 0x0409
|
nuclear@0
|
532 #define TT_MS_LANGID_ENGLISH_UNITED_KINGDOM 0x0809
|
nuclear@0
|
533 #define TT_MS_LANGID_ENGLISH_AUSTRALIA 0x0c09
|
nuclear@0
|
534 #define TT_MS_LANGID_ENGLISH_CANADA 0x1009
|
nuclear@0
|
535 #define TT_MS_LANGID_ENGLISH_NEW_ZEALAND 0x1409
|
nuclear@0
|
536 #define TT_MS_LANGID_ENGLISH_IRELAND 0x1809
|
nuclear@0
|
537 #define TT_MS_LANGID_ENGLISH_SOUTH_AFRICA 0x1c09
|
nuclear@0
|
538 #define TT_MS_LANGID_ENGLISH_JAMAICA 0x2009
|
nuclear@0
|
539 #define TT_MS_LANGID_ENGLISH_CARIBBEAN 0x2409
|
nuclear@0
|
540 #define TT_MS_LANGID_ENGLISH_BELIZE 0x2809
|
nuclear@0
|
541 #define TT_MS_LANGID_ENGLISH_TRINIDAD 0x2c09
|
nuclear@0
|
542 #define TT_MS_LANGID_ENGLISH_ZIMBABWE 0x3009
|
nuclear@0
|
543 #define TT_MS_LANGID_ENGLISH_PHILIPPINES 0x3409
|
nuclear@0
|
544 #define TT_MS_LANGID_ENGLISH_INDONESIA 0x3809
|
nuclear@0
|
545 #define TT_MS_LANGID_ENGLISH_HONG_KONG 0x3c09
|
nuclear@0
|
546 #define TT_MS_LANGID_ENGLISH_INDIA 0x4009
|
nuclear@0
|
547 #define TT_MS_LANGID_ENGLISH_MALAYSIA 0x4409
|
nuclear@0
|
548 #define TT_MS_LANGID_ENGLISH_SINGAPORE 0x4809
|
nuclear@0
|
549 #define TT_MS_LANGID_SPANISH_SPAIN_TRADITIONAL_SORT 0x040a
|
nuclear@0
|
550 #define TT_MS_LANGID_SPANISH_MEXICO 0x080a
|
nuclear@0
|
551 #define TT_MS_LANGID_SPANISH_SPAIN_INTERNATIONAL_SORT 0x0c0a
|
nuclear@0
|
552 #define TT_MS_LANGID_SPANISH_GUATEMALA 0x100a
|
nuclear@0
|
553 #define TT_MS_LANGID_SPANISH_COSTA_RICA 0x140a
|
nuclear@0
|
554 #define TT_MS_LANGID_SPANISH_PANAMA 0x180a
|
nuclear@0
|
555 #define TT_MS_LANGID_SPANISH_DOMINICAN_REPUBLIC 0x1c0a
|
nuclear@0
|
556 #define TT_MS_LANGID_SPANISH_VENEZUELA 0x200a
|
nuclear@0
|
557 #define TT_MS_LANGID_SPANISH_COLOMBIA 0x240a
|
nuclear@0
|
558 #define TT_MS_LANGID_SPANISH_PERU 0x280a
|
nuclear@0
|
559 #define TT_MS_LANGID_SPANISH_ARGENTINA 0x2c0a
|
nuclear@0
|
560 #define TT_MS_LANGID_SPANISH_ECUADOR 0x300a
|
nuclear@0
|
561 #define TT_MS_LANGID_SPANISH_CHILE 0x340a
|
nuclear@0
|
562 #define TT_MS_LANGID_SPANISH_URUGUAY 0x380a
|
nuclear@0
|
563 #define TT_MS_LANGID_SPANISH_PARAGUAY 0x3c0a
|
nuclear@0
|
564 #define TT_MS_LANGID_SPANISH_BOLIVIA 0x400a
|
nuclear@0
|
565 #define TT_MS_LANGID_SPANISH_EL_SALVADOR 0x440a
|
nuclear@0
|
566 #define TT_MS_LANGID_SPANISH_HONDURAS 0x480a
|
nuclear@0
|
567 #define TT_MS_LANGID_SPANISH_NICARAGUA 0x4c0a
|
nuclear@0
|
568 #define TT_MS_LANGID_SPANISH_PUERTO_RICO 0x500a
|
nuclear@0
|
569 #define TT_MS_LANGID_SPANISH_UNITED_STATES 0x540a
|
nuclear@0
|
570 /* The following ID blatantly violate MS specs by using a */
|
nuclear@0
|
571 /* sublanguage > 0x1F. */
|
nuclear@0
|
572 #define TT_MS_LANGID_SPANISH_LATIN_AMERICA 0xE40aU
|
nuclear@0
|
573 #define TT_MS_LANGID_FINNISH_FINLAND 0x040b
|
nuclear@0
|
574 #define TT_MS_LANGID_FRENCH_FRANCE 0x040c
|
nuclear@0
|
575 #define TT_MS_LANGID_FRENCH_BELGIUM 0x080c
|
nuclear@0
|
576 #define TT_MS_LANGID_FRENCH_CANADA 0x0c0c
|
nuclear@0
|
577 #define TT_MS_LANGID_FRENCH_SWITZERLAND 0x100c
|
nuclear@0
|
578 #define TT_MS_LANGID_FRENCH_LUXEMBOURG 0x140c
|
nuclear@0
|
579 #define TT_MS_LANGID_FRENCH_MONACO 0x180c
|
nuclear@0
|
580 #define TT_MS_LANGID_FRENCH_WEST_INDIES 0x1c0c
|
nuclear@0
|
581 #define TT_MS_LANGID_FRENCH_REUNION 0x200c
|
nuclear@0
|
582 #define TT_MS_LANGID_FRENCH_CONGO 0x240c
|
nuclear@0
|
583 /* which was formerly: */
|
nuclear@0
|
584 #define TT_MS_LANGID_FRENCH_ZAIRE TT_MS_LANGID_FRENCH_CONGO
|
nuclear@0
|
585 #define TT_MS_LANGID_FRENCH_SENEGAL 0x280c
|
nuclear@0
|
586 #define TT_MS_LANGID_FRENCH_CAMEROON 0x2c0c
|
nuclear@0
|
587 #define TT_MS_LANGID_FRENCH_COTE_D_IVOIRE 0x300c
|
nuclear@0
|
588 #define TT_MS_LANGID_FRENCH_MALI 0x340c
|
nuclear@0
|
589 #define TT_MS_LANGID_FRENCH_MOROCCO 0x380c
|
nuclear@0
|
590 #define TT_MS_LANGID_FRENCH_HAITI 0x3c0c
|
nuclear@0
|
591 /* and another violation of the spec (see 0xE40aU) */
|
nuclear@0
|
592 #define TT_MS_LANGID_FRENCH_NORTH_AFRICA 0xE40cU
|
nuclear@0
|
593 #define TT_MS_LANGID_HEBREW_ISRAEL 0x040d
|
nuclear@0
|
594 #define TT_MS_LANGID_HUNGARIAN_HUNGARY 0x040e
|
nuclear@0
|
595 #define TT_MS_LANGID_ICELANDIC_ICELAND 0x040f
|
nuclear@0
|
596 #define TT_MS_LANGID_ITALIAN_ITALY 0x0410
|
nuclear@0
|
597 #define TT_MS_LANGID_ITALIAN_SWITZERLAND 0x0810
|
nuclear@0
|
598 #define TT_MS_LANGID_JAPANESE_JAPAN 0x0411
|
nuclear@0
|
599 #define TT_MS_LANGID_KOREAN_EXTENDED_WANSUNG_KOREA 0x0412
|
nuclear@0
|
600 #define TT_MS_LANGID_KOREAN_JOHAB_KOREA 0x0812
|
nuclear@0
|
601 #define TT_MS_LANGID_DUTCH_NETHERLANDS 0x0413
|
nuclear@0
|
602 #define TT_MS_LANGID_DUTCH_BELGIUM 0x0813
|
nuclear@0
|
603 #define TT_MS_LANGID_NORWEGIAN_NORWAY_BOKMAL 0x0414
|
nuclear@0
|
604 #define TT_MS_LANGID_NORWEGIAN_NORWAY_NYNORSK 0x0814
|
nuclear@0
|
605 #define TT_MS_LANGID_POLISH_POLAND 0x0415
|
nuclear@0
|
606 #define TT_MS_LANGID_PORTUGUESE_BRAZIL 0x0416
|
nuclear@0
|
607 #define TT_MS_LANGID_PORTUGUESE_PORTUGAL 0x0816
|
nuclear@0
|
608 #define TT_MS_LANGID_RHAETO_ROMANIC_SWITZERLAND 0x0417
|
nuclear@0
|
609 #define TT_MS_LANGID_ROMANIAN_ROMANIA 0x0418
|
nuclear@0
|
610 #define TT_MS_LANGID_MOLDAVIAN_MOLDAVIA 0x0818
|
nuclear@0
|
611 #define TT_MS_LANGID_RUSSIAN_RUSSIA 0x0419
|
nuclear@0
|
612 #define TT_MS_LANGID_RUSSIAN_MOLDAVIA 0x0819
|
nuclear@0
|
613 #define TT_MS_LANGID_CROATIAN_CROATIA 0x041a
|
nuclear@0
|
614 #define TT_MS_LANGID_SERBIAN_SERBIA_LATIN 0x081a
|
nuclear@0
|
615 #define TT_MS_LANGID_SERBIAN_SERBIA_CYRILLIC 0x0c1a
|
nuclear@0
|
616
|
nuclear@0
|
617 #if 0 /* this used to be this value, but it looks like we were wrong */
|
nuclear@0
|
618 #define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x101a
|
nuclear@0
|
619 #else /* current sources say */
|
nuclear@0
|
620 #define TT_MS_LANGID_CROATIAN_BOSNIA_HERZEGOVINA 0x101a
|
nuclear@0
|
621 #define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x141a
|
nuclear@0
|
622 /* and XPsp2 Platform SDK added (2004-07-26) */
|
nuclear@0
|
623 /* Names are shortened to be significant within 40 chars. */
|
nuclear@0
|
624 #define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_LATIN 0x181a
|
nuclear@0
|
625 #define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_CYRILLIC 0x181a
|
nuclear@0
|
626 #endif
|
nuclear@0
|
627
|
nuclear@0
|
628 #define TT_MS_LANGID_SLOVAK_SLOVAKIA 0x041b
|
nuclear@0
|
629 #define TT_MS_LANGID_ALBANIAN_ALBANIA 0x041c
|
nuclear@0
|
630 #define TT_MS_LANGID_SWEDISH_SWEDEN 0x041d
|
nuclear@0
|
631 #define TT_MS_LANGID_SWEDISH_FINLAND 0x081d
|
nuclear@0
|
632 #define TT_MS_LANGID_THAI_THAILAND 0x041e
|
nuclear@0
|
633 #define TT_MS_LANGID_TURKISH_TURKEY 0x041f
|
nuclear@0
|
634 #define TT_MS_LANGID_URDU_PAKISTAN 0x0420
|
nuclear@0
|
635 #define TT_MS_LANGID_URDU_INDIA 0x0820
|
nuclear@0
|
636 #define TT_MS_LANGID_INDONESIAN_INDONESIA 0x0421
|
nuclear@0
|
637 #define TT_MS_LANGID_UKRAINIAN_UKRAINE 0x0422
|
nuclear@0
|
638 #define TT_MS_LANGID_BELARUSIAN_BELARUS 0x0423
|
nuclear@0
|
639 #define TT_MS_LANGID_SLOVENE_SLOVENIA 0x0424
|
nuclear@0
|
640 #define TT_MS_LANGID_ESTONIAN_ESTONIA 0x0425
|
nuclear@0
|
641 #define TT_MS_LANGID_LATVIAN_LATVIA 0x0426
|
nuclear@0
|
642 #define TT_MS_LANGID_LITHUANIAN_LITHUANIA 0x0427
|
nuclear@0
|
643 #define TT_MS_LANGID_CLASSIC_LITHUANIAN_LITHUANIA 0x0827
|
nuclear@0
|
644 #define TT_MS_LANGID_TAJIK_TAJIKISTAN 0x0428
|
nuclear@0
|
645 #define TT_MS_LANGID_FARSI_IRAN 0x0429
|
nuclear@0
|
646 #define TT_MS_LANGID_VIETNAMESE_VIET_NAM 0x042a
|
nuclear@0
|
647 #define TT_MS_LANGID_ARMENIAN_ARMENIA 0x042b
|
nuclear@0
|
648 #define TT_MS_LANGID_AZERI_AZERBAIJAN_LATIN 0x042c
|
nuclear@0
|
649 #define TT_MS_LANGID_AZERI_AZERBAIJAN_CYRILLIC 0x082c
|
nuclear@0
|
650 #define TT_MS_LANGID_BASQUE_SPAIN 0x042d
|
nuclear@0
|
651 #define TT_MS_LANGID_SORBIAN_GERMANY 0x042e
|
nuclear@0
|
652 #define TT_MS_LANGID_MACEDONIAN_MACEDONIA 0x042f
|
nuclear@0
|
653 #define TT_MS_LANGID_SUTU_SOUTH_AFRICA 0x0430
|
nuclear@0
|
654 #define TT_MS_LANGID_TSONGA_SOUTH_AFRICA 0x0431
|
nuclear@0
|
655 #define TT_MS_LANGID_TSWANA_SOUTH_AFRICA 0x0432
|
nuclear@0
|
656 #define TT_MS_LANGID_VENDA_SOUTH_AFRICA 0x0433
|
nuclear@0
|
657 #define TT_MS_LANGID_XHOSA_SOUTH_AFRICA 0x0434
|
nuclear@0
|
658 #define TT_MS_LANGID_ZULU_SOUTH_AFRICA 0x0435
|
nuclear@0
|
659 #define TT_MS_LANGID_AFRIKAANS_SOUTH_AFRICA 0x0436
|
nuclear@0
|
660 #define TT_MS_LANGID_GEORGIAN_GEORGIA 0x0437
|
nuclear@0
|
661 #define TT_MS_LANGID_FAEROESE_FAEROE_ISLANDS 0x0438
|
nuclear@0
|
662 #define TT_MS_LANGID_HINDI_INDIA 0x0439
|
nuclear@0
|
663 #define TT_MS_LANGID_MALTESE_MALTA 0x043a
|
nuclear@0
|
664 /* Added by XPsp2 Platform SDK (2004-07-26) */
|
nuclear@0
|
665 #define TT_MS_LANGID_SAMI_NORTHERN_NORWAY 0x043b
|
nuclear@0
|
666 #define TT_MS_LANGID_SAMI_NORTHERN_SWEDEN 0x083b
|
nuclear@0
|
667 #define TT_MS_LANGID_SAMI_NORTHERN_FINLAND 0x0C3b
|
nuclear@0
|
668 #define TT_MS_LANGID_SAMI_LULE_NORWAY 0x103b
|
nuclear@0
|
669 #define TT_MS_LANGID_SAMI_LULE_SWEDEN 0x143b
|
nuclear@0
|
670 #define TT_MS_LANGID_SAMI_SOUTHERN_NORWAY 0x183b
|
nuclear@0
|
671 #define TT_MS_LANGID_SAMI_SOUTHERN_SWEDEN 0x1C3b
|
nuclear@0
|
672 #define TT_MS_LANGID_SAMI_SKOLT_FINLAND 0x203b
|
nuclear@0
|
673 #define TT_MS_LANGID_SAMI_INARI_FINLAND 0x243b
|
nuclear@0
|
674 /* ... and we also keep our old identifier... */
|
nuclear@0
|
675 #define TT_MS_LANGID_SAAMI_LAPONIA 0x043b
|
nuclear@0
|
676
|
nuclear@0
|
677 #if 0 /* this seems to be a previous inversion */
|
nuclear@0
|
678 #define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043c
|
nuclear@0
|
679 #define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083c
|
nuclear@0
|
680 #else
|
nuclear@0
|
681 #define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083c
|
nuclear@0
|
682 #define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043c
|
nuclear@0
|
683 #endif
|
nuclear@0
|
684
|
nuclear@0
|
685 #define TT_MS_LANGID_YIDDISH_GERMANY 0x043d
|
nuclear@0
|
686 #define TT_MS_LANGID_MALAY_MALAYSIA 0x043e
|
nuclear@0
|
687 #define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083e
|
nuclear@0
|
688 #define TT_MS_LANGID_KAZAK_KAZAKSTAN 0x043f
|
nuclear@0
|
689 #define TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN /* Cyrillic*/ 0x0440
|
nuclear@0
|
690 /* alias declared in Windows 2000 */
|
nuclear@0
|
691 #define TT_MS_LANGID_KIRGHIZ_KIRGHIZ_REPUBLIC \
|
nuclear@0
|
692 TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN
|
nuclear@0
|
693
|
nuclear@0
|
694 #define TT_MS_LANGID_SWAHILI_KENYA 0x0441
|
nuclear@0
|
695 #define TT_MS_LANGID_TURKMEN_TURKMENISTAN 0x0442
|
nuclear@0
|
696 #define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443
|
nuclear@0
|
697 #define TT_MS_LANGID_UZBEK_UZBEKISTAN_CYRILLIC 0x0843
|
nuclear@0
|
698 #define TT_MS_LANGID_TATAR_TATARSTAN 0x0444
|
nuclear@0
|
699 #define TT_MS_LANGID_BENGALI_INDIA 0x0445
|
nuclear@0
|
700 #define TT_MS_LANGID_BENGALI_BANGLADESH 0x0845
|
nuclear@0
|
701 #define TT_MS_LANGID_PUNJABI_INDIA 0x0446
|
nuclear@0
|
702 #define TT_MS_LANGID_PUNJABI_ARABIC_PAKISTAN 0x0846
|
nuclear@0
|
703 #define TT_MS_LANGID_GUJARATI_INDIA 0x0447
|
nuclear@0
|
704 #define TT_MS_LANGID_ORIYA_INDIA 0x0448
|
nuclear@0
|
705 #define TT_MS_LANGID_TAMIL_INDIA 0x0449
|
nuclear@0
|
706 #define TT_MS_LANGID_TELUGU_INDIA 0x044a
|
nuclear@0
|
707 #define TT_MS_LANGID_KANNADA_INDIA 0x044b
|
nuclear@0
|
708 #define TT_MS_LANGID_MALAYALAM_INDIA 0x044c
|
nuclear@0
|
709 #define TT_MS_LANGID_ASSAMESE_INDIA 0x044d
|
nuclear@0
|
710 #define TT_MS_LANGID_MARATHI_INDIA 0x044e
|
nuclear@0
|
711 #define TT_MS_LANGID_SANSKRIT_INDIA 0x044f
|
nuclear@0
|
712 #define TT_MS_LANGID_MONGOLIAN_MONGOLIA /* Cyrillic */ 0x0450
|
nuclear@0
|
713 #define TT_MS_LANGID_MONGOLIAN_MONGOLIA_MONGOLIAN 0x0850
|
nuclear@0
|
714 #define TT_MS_LANGID_TIBETAN_CHINA 0x0451
|
nuclear@0
|
715 /* Don't use the next constant! It has */
|
nuclear@0
|
716 /* (1) the wrong spelling (Dzonghka) */
|
nuclear@0
|
717 /* (2) Microsoft doesn't officially define it -- */
|
nuclear@0
|
718 /* at least it is not in the List of Local */
|
nuclear@0
|
719 /* ID Values. */
|
nuclear@0
|
720 /* (3) Dzongkha is not the same language as */
|
nuclear@0
|
721 /* Tibetan, so merging it is wrong anyway. */
|
nuclear@0
|
722 /* */
|
nuclear@0
|
723 /* TT_MS_LANGID_TIBETAN_BHUTAN is correct, BTW. */
|
nuclear@0
|
724 #define TT_MS_LANGID_DZONGHKA_BHUTAN 0x0851
|
nuclear@0
|
725
|
nuclear@0
|
726 #if 0
|
nuclear@0
|
727 /* the following used to be defined */
|
nuclear@0
|
728 #define TT_MS_LANGID_TIBETAN_BHUTAN 0x0451
|
nuclear@0
|
729 /* ... but it was changed; */
|
nuclear@0
|
730 #else
|
nuclear@0
|
731 /* So we will continue to #define it, but with the correct value */
|
nuclear@0
|
732 #define TT_MS_LANGID_TIBETAN_BHUTAN TT_MS_LANGID_DZONGHKA_BHUTAN
|
nuclear@0
|
733 #endif
|
nuclear@0
|
734
|
nuclear@0
|
735 #define TT_MS_LANGID_WELSH_WALES 0x0452
|
nuclear@0
|
736 #define TT_MS_LANGID_KHMER_CAMBODIA 0x0453
|
nuclear@0
|
737 #define TT_MS_LANGID_LAO_LAOS 0x0454
|
nuclear@0
|
738 #define TT_MS_LANGID_BURMESE_MYANMAR 0x0455
|
nuclear@0
|
739 #define TT_MS_LANGID_GALICIAN_SPAIN 0x0456
|
nuclear@0
|
740 #define TT_MS_LANGID_KONKANI_INDIA 0x0457
|
nuclear@0
|
741 #define TT_MS_LANGID_MANIPURI_INDIA /* Bengali */ 0x0458
|
nuclear@0
|
742 #define TT_MS_LANGID_SINDHI_INDIA /* Arabic */ 0x0459
|
nuclear@0
|
743 #define TT_MS_LANGID_SINDHI_PAKISTAN 0x0859
|
nuclear@0
|
744 /* Missing a LCID for Sindhi in Devanagari script */
|
nuclear@0
|
745 #define TT_MS_LANGID_SYRIAC_SYRIA 0x045a
|
nuclear@0
|
746 #define TT_MS_LANGID_SINHALESE_SRI_LANKA 0x045b
|
nuclear@0
|
747 #define TT_MS_LANGID_CHEROKEE_UNITED_STATES 0x045c
|
nuclear@0
|
748 #define TT_MS_LANGID_INUKTITUT_CANADA 0x045d
|
nuclear@0
|
749 #define TT_MS_LANGID_AMHARIC_ETHIOPIA 0x045e
|
nuclear@0
|
750 #define TT_MS_LANGID_TAMAZIGHT_MOROCCO /* Arabic */ 0x045f
|
nuclear@0
|
751 #define TT_MS_LANGID_TAMAZIGHT_MOROCCO_LATIN 0x085f
|
nuclear@0
|
752 /* Missing a LCID for Tifinagh script */
|
nuclear@0
|
753 #define TT_MS_LANGID_KASHMIRI_PAKISTAN /* Arabic */ 0x0460
|
nuclear@0
|
754 /* Spelled this way by XPsp2 Platform SDK (2004-07-26) */
|
nuclear@0
|
755 /* script is yet unclear... might be Arabic, Nagari or Sharada */
|
nuclear@0
|
756 #define TT_MS_LANGID_KASHMIRI_SASIA 0x0860
|
nuclear@0
|
757 /* ... and aliased (by MS) for compatibility reasons. */
|
nuclear@0
|
758 #define TT_MS_LANGID_KASHMIRI_INDIA TT_MS_LANGID_KASHMIRI_SASIA
|
nuclear@0
|
759 #define TT_MS_LANGID_NEPALI_NEPAL 0x0461
|
nuclear@0
|
760 #define TT_MS_LANGID_NEPALI_INDIA 0x0861
|
nuclear@0
|
761 #define TT_MS_LANGID_FRISIAN_NETHERLANDS 0x0462
|
nuclear@0
|
762 #define TT_MS_LANGID_PASHTO_AFGHANISTAN 0x0463
|
nuclear@0
|
763 #define TT_MS_LANGID_FILIPINO_PHILIPPINES 0x0464
|
nuclear@0
|
764 #define TT_MS_LANGID_DHIVEHI_MALDIVES 0x0465
|
nuclear@0
|
765 /* alias declared in Windows 2000 */
|
nuclear@0
|
766 #define TT_MS_LANGID_DIVEHI_MALDIVES TT_MS_LANGID_DHIVEHI_MALDIVES
|
nuclear@0
|
767 #define TT_MS_LANGID_EDO_NIGERIA 0x0466
|
nuclear@0
|
768 #define TT_MS_LANGID_FULFULDE_NIGERIA 0x0467
|
nuclear@0
|
769 #define TT_MS_LANGID_HAUSA_NIGERIA 0x0468
|
nuclear@0
|
770 #define TT_MS_LANGID_IBIBIO_NIGERIA 0x0469
|
nuclear@0
|
771 #define TT_MS_LANGID_YORUBA_NIGERIA 0x046a
|
nuclear@0
|
772 #define TT_MS_LANGID_QUECHUA_BOLIVIA 0x046b
|
nuclear@0
|
773 #define TT_MS_LANGID_QUECHUA_ECUADOR 0x086b
|
nuclear@0
|
774 #define TT_MS_LANGID_QUECHUA_PERU 0x0c6b
|
nuclear@0
|
775 #define TT_MS_LANGID_SEPEDI_SOUTH_AFRICA 0x046c
|
nuclear@0
|
776 /* Also spelled by XPsp2 Platform SDK (2004-07-26) */
|
nuclear@0
|
777 #define TT_MS_LANGID_SOTHO_SOUTHERN_SOUTH_AFRICA \
|
nuclear@0
|
778 TT_MS_LANGID_SEPEDI_SOUTH_AFRICA
|
nuclear@0
|
779 /* language codes 0x046d, 0x046e and 0x046f are (still) unknown. */
|
nuclear@0
|
780 #define TT_MS_LANGID_IGBO_NIGERIA 0x0470
|
nuclear@0
|
781 #define TT_MS_LANGID_KANURI_NIGERIA 0x0471
|
nuclear@0
|
782 #define TT_MS_LANGID_OROMO_ETHIOPIA 0x0472
|
nuclear@0
|
783 #define TT_MS_LANGID_TIGRIGNA_ETHIOPIA 0x0473
|
nuclear@0
|
784 #define TT_MS_LANGID_TIGRIGNA_ERYTHREA 0x0873
|
nuclear@0
|
785 /* also spelled in the `Passport SDK' list as: */
|
nuclear@0
|
786 #define TT_MS_LANGID_TIGRIGNA_ERYTREA TT_MS_LANGID_TIGRIGNA_ERYTHREA
|
nuclear@0
|
787 #define TT_MS_LANGID_GUARANI_PARAGUAY 0x0474
|
nuclear@0
|
788 #define TT_MS_LANGID_HAWAIIAN_UNITED_STATES 0x0475
|
nuclear@0
|
789 #define TT_MS_LANGID_LATIN 0x0476
|
nuclear@0
|
790 #define TT_MS_LANGID_SOMALI_SOMALIA 0x0477
|
nuclear@0
|
791 /* Note: Yi does not have a (proper) ISO 639-2 code, since it is mostly */
|
nuclear@0
|
792 /* not written (but OTOH the peculiar writing system is worth */
|
nuclear@0
|
793 /* studying). */
|
nuclear@0
|
794 #define TT_MS_LANGID_YI_CHINA 0x0478
|
nuclear@0
|
795 #define TT_MS_LANGID_PAPIAMENTU_NETHERLANDS_ANTILLES 0x0479
|
nuclear@0
|
796 /* language codes from 0x047a to 0x047f are (still) unknown. */
|
nuclear@0
|
797 #define TT_MS_LANGID_UIGHUR_CHINA 0x0480
|
nuclear@0
|
798 #define TT_MS_LANGID_MAORI_NEW_ZEALAND 0x0481
|
nuclear@0
|
799
|
nuclear@0
|
800 #if 0 /* not deemed useful for fonts */
|
nuclear@0
|
801 #define TT_MS_LANGID_HUMAN_INTERFACE_DEVICE 0x04ff
|
nuclear@0
|
802 #endif
|
nuclear@0
|
803
|
nuclear@0
|
804
|
nuclear@0
|
805 /*************************************************************************/
|
nuclear@0
|
806 /* */
|
nuclear@0
|
807 /* Possible values of the `name' identifier field in the name records of */
|
nuclear@0
|
808 /* the TTF `name' table. These values are platform independent. */
|
nuclear@0
|
809 /* */
|
nuclear@0
|
810 #define TT_NAME_ID_COPYRIGHT 0
|
nuclear@0
|
811 #define TT_NAME_ID_FONT_FAMILY 1
|
nuclear@0
|
812 #define TT_NAME_ID_FONT_SUBFAMILY 2
|
nuclear@0
|
813 #define TT_NAME_ID_UNIQUE_ID 3
|
nuclear@0
|
814 #define TT_NAME_ID_FULL_NAME 4
|
nuclear@0
|
815 #define TT_NAME_ID_VERSION_STRING 5
|
nuclear@0
|
816 #define TT_NAME_ID_PS_NAME 6
|
nuclear@0
|
817 #define TT_NAME_ID_TRADEMARK 7
|
nuclear@0
|
818
|
nuclear@0
|
819 /* the following values are from the OpenType spec */
|
nuclear@0
|
820 #define TT_NAME_ID_MANUFACTURER 8
|
nuclear@0
|
821 #define TT_NAME_ID_DESIGNER 9
|
nuclear@0
|
822 #define TT_NAME_ID_DESCRIPTION 10
|
nuclear@0
|
823 #define TT_NAME_ID_VENDOR_URL 11
|
nuclear@0
|
824 #define TT_NAME_ID_DESIGNER_URL 12
|
nuclear@0
|
825 #define TT_NAME_ID_LICENSE 13
|
nuclear@0
|
826 #define TT_NAME_ID_LICENSE_URL 14
|
nuclear@0
|
827 /* number 15 is reserved */
|
nuclear@0
|
828 #define TT_NAME_ID_PREFERRED_FAMILY 16
|
nuclear@0
|
829 #define TT_NAME_ID_PREFERRED_SUBFAMILY 17
|
nuclear@0
|
830 #define TT_NAME_ID_MAC_FULL_NAME 18
|
nuclear@0
|
831
|
nuclear@0
|
832 /* The following code is new as of 2000-01-21 */
|
nuclear@0
|
833 #define TT_NAME_ID_SAMPLE_TEXT 19
|
nuclear@0
|
834
|
nuclear@0
|
835 /* This is new in OpenType 1.3 */
|
nuclear@0
|
836 #define TT_NAME_ID_CID_FINDFONT_NAME 20
|
nuclear@0
|
837
|
nuclear@0
|
838 /* This is new in OpenType 1.5 */
|
nuclear@0
|
839 #define TT_NAME_ID_WWS_FAMILY 21
|
nuclear@0
|
840 #define TT_NAME_ID_WWS_SUBFAMILY 22
|
nuclear@0
|
841
|
nuclear@0
|
842
|
nuclear@0
|
843 /*************************************************************************/
|
nuclear@0
|
844 /* */
|
nuclear@0
|
845 /* Bit mask values for the Unicode Ranges from the TTF `OS2 ' table. */
|
nuclear@0
|
846 /* */
|
nuclear@0
|
847 /* Updated 08-Nov-2008. */
|
nuclear@0
|
848 /* */
|
nuclear@0
|
849
|
nuclear@0
|
850 /* Bit 0 Basic Latin */
|
nuclear@0
|
851 #define TT_UCR_BASIC_LATIN (1L << 0) /* U+0020-U+007E */
|
nuclear@0
|
852 /* Bit 1 C1 Controls and Latin-1 Supplement */
|
nuclear@0
|
853 #define TT_UCR_LATIN1_SUPPLEMENT (1L << 1) /* U+0080-U+00FF */
|
nuclear@0
|
854 /* Bit 2 Latin Extended-A */
|
nuclear@0
|
855 #define TT_UCR_LATIN_EXTENDED_A (1L << 2) /* U+0100-U+017F */
|
nuclear@0
|
856 /* Bit 3 Latin Extended-B */
|
nuclear@0
|
857 #define TT_UCR_LATIN_EXTENDED_B (1L << 3) /* U+0180-U+024F */
|
nuclear@0
|
858 /* Bit 4 IPA Extensions */
|
nuclear@0
|
859 /* Phonetic Extensions */
|
nuclear@0
|
860 /* Phonetic Extensions Supplement */
|
nuclear@0
|
861 #define TT_UCR_IPA_EXTENSIONS (1L << 4) /* U+0250-U+02AF */
|
nuclear@0
|
862 /* U+1D00-U+1D7F */
|
nuclear@0
|
863 /* U+1D80-U+1DBF */
|
nuclear@0
|
864 /* Bit 5 Spacing Modifier Letters */
|
nuclear@0
|
865 /* Modifier Tone Letters */
|
nuclear@0
|
866 #define TT_UCR_SPACING_MODIFIER (1L << 5) /* U+02B0-U+02FF */
|
nuclear@0
|
867 /* U+A700-U+A71F */
|
nuclear@0
|
868 /* Bit 6 Combining Diacritical Marks */
|
nuclear@0
|
869 /* Combining Diacritical Marks Supplement */
|
nuclear@0
|
870 #define TT_UCR_COMBINING_DIACRITICS (1L << 6) /* U+0300-U+036F */
|
nuclear@0
|
871 /* U+1DC0-U+1DFF */
|
nuclear@0
|
872 /* Bit 7 Greek and Coptic */
|
nuclear@0
|
873 #define TT_UCR_GREEK (1L << 7) /* U+0370-U+03FF */
|
nuclear@0
|
874 /* Bit 8 Coptic */
|
nuclear@0
|
875 #define TT_UCR_COPTIC (1L << 8) /* U+2C80-U+2CFF */
|
nuclear@0
|
876 /* Bit 9 Cyrillic */
|
nuclear@0
|
877 /* Cyrillic Supplement */
|
nuclear@0
|
878 /* Cyrillic Extended-A */
|
nuclear@0
|
879 /* Cyrillic Extended-B */
|
nuclear@0
|
880 #define TT_UCR_CYRILLIC (1L << 9) /* U+0400-U+04FF */
|
nuclear@0
|
881 /* U+0500-U+052F */
|
nuclear@0
|
882 /* U+2DE0-U+2DFF */
|
nuclear@0
|
883 /* U+A640-U+A69F */
|
nuclear@0
|
884 /* Bit 10 Armenian */
|
nuclear@0
|
885 #define TT_UCR_ARMENIAN (1L << 10) /* U+0530-U+058F */
|
nuclear@0
|
886 /* Bit 11 Hebrew */
|
nuclear@0
|
887 #define TT_UCR_HEBREW (1L << 11) /* U+0590-U+05FF */
|
nuclear@0
|
888 /* Bit 12 Vai */
|
nuclear@0
|
889 #define TT_UCR_VAI (1L << 12) /* U+A500-U+A63F */
|
nuclear@0
|
890 /* Bit 13 Arabic */
|
nuclear@0
|
891 /* Arabic Supplement */
|
nuclear@0
|
892 #define TT_UCR_ARABIC (1L << 13) /* U+0600-U+06FF */
|
nuclear@0
|
893 /* U+0750-U+077F */
|
nuclear@0
|
894 /* Bit 14 NKo */
|
nuclear@0
|
895 #define TT_UCR_NKO (1L << 14) /* U+07C0-U+07FF */
|
nuclear@0
|
896 /* Bit 15 Devanagari */
|
nuclear@0
|
897 #define TT_UCR_DEVANAGARI (1L << 15) /* U+0900-U+097F */
|
nuclear@0
|
898 /* Bit 16 Bengali */
|
nuclear@0
|
899 #define TT_UCR_BENGALI (1L << 16) /* U+0980-U+09FF */
|
nuclear@0
|
900 /* Bit 17 Gurmukhi */
|
nuclear@0
|
901 #define TT_UCR_GURMUKHI (1L << 17) /* U+0A00-U+0A7F */
|
nuclear@0
|
902 /* Bit 18 Gujarati */
|
nuclear@0
|
903 #define TT_UCR_GUJARATI (1L << 18) /* U+0A80-U+0AFF */
|
nuclear@0
|
904 /* Bit 19 Oriya */
|
nuclear@0
|
905 #define TT_UCR_ORIYA (1L << 19) /* U+0B00-U+0B7F */
|
nuclear@0
|
906 /* Bit 20 Tamil */
|
nuclear@0
|
907 #define TT_UCR_TAMIL (1L << 20) /* U+0B80-U+0BFF */
|
nuclear@0
|
908 /* Bit 21 Telugu */
|
nuclear@0
|
909 #define TT_UCR_TELUGU (1L << 21) /* U+0C00-U+0C7F */
|
nuclear@0
|
910 /* Bit 22 Kannada */
|
nuclear@0
|
911 #define TT_UCR_KANNADA (1L << 22) /* U+0C80-U+0CFF */
|
nuclear@0
|
912 /* Bit 23 Malayalam */
|
nuclear@0
|
913 #define TT_UCR_MALAYALAM (1L << 23) /* U+0D00-U+0D7F */
|
nuclear@0
|
914 /* Bit 24 Thai */
|
nuclear@0
|
915 #define TT_UCR_THAI (1L << 24) /* U+0E00-U+0E7F */
|
nuclear@0
|
916 /* Bit 25 Lao */
|
nuclear@0
|
917 #define TT_UCR_LAO (1L << 25) /* U+0E80-U+0EFF */
|
nuclear@0
|
918 /* Bit 26 Georgian */
|
nuclear@0
|
919 /* Georgian Supplement */
|
nuclear@0
|
920 #define TT_UCR_GEORGIAN (1L << 26) /* U+10A0-U+10FF */
|
nuclear@0
|
921 /* U+2D00-U+2D2F */
|
nuclear@0
|
922 /* Bit 27 Balinese */
|
nuclear@0
|
923 #define TT_UCR_BALINESE (1L << 27) /* U+1B00-U+1B7F */
|
nuclear@0
|
924 /* Bit 28 Hangul Jamo */
|
nuclear@0
|
925 #define TT_UCR_HANGUL_JAMO (1L << 28) /* U+1100-U+11FF */
|
nuclear@0
|
926 /* Bit 29 Latin Extended Additional */
|
nuclear@0
|
927 /* Latin Extended-C */
|
nuclear@0
|
928 /* Latin Extended-D */
|
nuclear@0
|
929 #define TT_UCR_LATIN_EXTENDED_ADDITIONAL (1L << 29) /* U+1E00-U+1EFF */
|
nuclear@0
|
930 /* U+2C60-U+2C7F */
|
nuclear@0
|
931 /* U+A720-U+A7FF */
|
nuclear@0
|
932 /* Bit 30 Greek Extended */
|
nuclear@0
|
933 #define TT_UCR_GREEK_EXTENDED (1L << 30) /* U+1F00-U+1FFF */
|
nuclear@0
|
934 /* Bit 31 General Punctuation */
|
nuclear@0
|
935 /* Supplemental Punctuation */
|
nuclear@0
|
936 #define TT_UCR_GENERAL_PUNCTUATION (1L << 31) /* U+2000-U+206F */
|
nuclear@0
|
937 /* U+2E00-U+2E7F */
|
nuclear@0
|
938 /* Bit 32 Superscripts And Subscripts */
|
nuclear@0
|
939 #define TT_UCR_SUPERSCRIPTS_SUBSCRIPTS (1L << 0) /* U+2070-U+209F */
|
nuclear@0
|
940 /* Bit 33 Currency Symbols */
|
nuclear@0
|
941 #define TT_UCR_CURRENCY_SYMBOLS (1L << 1) /* U+20A0-U+20CF */
|
nuclear@0
|
942 /* Bit 34 Combining Diacritical Marks For Symbols */
|
nuclear@0
|
943 #define TT_UCR_COMBINING_DIACRITICS_SYMB (1L << 2) /* U+20D0-U+20FF */
|
nuclear@0
|
944 /* Bit 35 Letterlike Symbols */
|
nuclear@0
|
945 #define TT_UCR_LETTERLIKE_SYMBOLS (1L << 3) /* U+2100-U+214F */
|
nuclear@0
|
946 /* Bit 36 Number Forms */
|
nuclear@0
|
947 #define TT_UCR_NUMBER_FORMS (1L << 4) /* U+2150-U+218F */
|
nuclear@0
|
948 /* Bit 37 Arrows */
|
nuclear@0
|
949 /* Supplemental Arrows-A */
|
nuclear@0
|
950 /* Supplemental Arrows-B */
|
nuclear@0
|
951 /* Miscellaneous Symbols and Arrows */
|
nuclear@0
|
952 #define TT_UCR_ARROWS (1L << 5) /* U+2190-U+21FF */
|
nuclear@0
|
953 /* U+27F0-U+27FF */
|
nuclear@0
|
954 /* U+2900-U+297F */
|
nuclear@0
|
955 /* U+2B00-U+2BFF */
|
nuclear@0
|
956 /* Bit 38 Mathematical Operators */
|
nuclear@0
|
957 /* Supplemental Mathematical Operators */
|
nuclear@0
|
958 /* Miscellaneous Mathematical Symbols-A */
|
nuclear@0
|
959 /* Miscellaneous Mathematical Symbols-B */
|
nuclear@0
|
960 #define TT_UCR_MATHEMATICAL_OPERATORS (1L << 6) /* U+2200-U+22FF */
|
nuclear@0
|
961 /* U+2A00-U+2AFF */
|
nuclear@0
|
962 /* U+27C0-U+27EF */
|
nuclear@0
|
963 /* U+2980-U+29FF */
|
nuclear@0
|
964 /* Bit 39 Miscellaneous Technical */
|
nuclear@0
|
965 #define TT_UCR_MISCELLANEOUS_TECHNICAL (1L << 7) /* U+2300-U+23FF */
|
nuclear@0
|
966 /* Bit 40 Control Pictures */
|
nuclear@0
|
967 #define TT_UCR_CONTROL_PICTURES (1L << 8) /* U+2400-U+243F */
|
nuclear@0
|
968 /* Bit 41 Optical Character Recognition */
|
nuclear@0
|
969 #define TT_UCR_OCR (1L << 9) /* U+2440-U+245F */
|
nuclear@0
|
970 /* Bit 42 Enclosed Alphanumerics */
|
nuclear@0
|
971 #define TT_UCR_ENCLOSED_ALPHANUMERICS (1L << 10) /* U+2460-U+24FF */
|
nuclear@0
|
972 /* Bit 43 Box Drawing */
|
nuclear@0
|
973 #define TT_UCR_BOX_DRAWING (1L << 11) /* U+2500-U+257F */
|
nuclear@0
|
974 /* Bit 44 Block Elements */
|
nuclear@0
|
975 #define TT_UCR_BLOCK_ELEMENTS (1L << 12) /* U+2580-U+259F */
|
nuclear@0
|
976 /* Bit 45 Geometric Shapes */
|
nuclear@0
|
977 #define TT_UCR_GEOMETRIC_SHAPES (1L << 13) /* U+25A0-U+25FF */
|
nuclear@0
|
978 /* Bit 46 Miscellaneous Symbols */
|
nuclear@0
|
979 #define TT_UCR_MISCELLANEOUS_SYMBOLS (1L << 14) /* U+2600-U+26FF */
|
nuclear@0
|
980 /* Bit 47 Dingbats */
|
nuclear@0
|
981 #define TT_UCR_DINGBATS (1L << 15) /* U+2700-U+27BF */
|
nuclear@0
|
982 /* Bit 48 CJK Symbols and Punctuation */
|
nuclear@0
|
983 #define TT_UCR_CJK_SYMBOLS (1L << 16) /* U+3000-U+303F */
|
nuclear@0
|
984 /* Bit 49 Hiragana */
|
nuclear@0
|
985 #define TT_UCR_HIRAGANA (1L << 17) /* U+3040-U+309F */
|
nuclear@0
|
986 /* Bit 50 Katakana */
|
nuclear@0
|
987 /* Katakana Phonetic Extensions */
|
nuclear@0
|
988 #define TT_UCR_KATAKANA (1L << 18) /* U+30A0-U+30FF */
|
nuclear@0
|
989 /* U+31F0-U+31FF */
|
nuclear@0
|
990 /* Bit 51 Bopomofo */
|
nuclear@0
|
991 /* Bopomofo Extended */
|
nuclear@0
|
992 #define TT_UCR_BOPOMOFO (1L << 19) /* U+3100-U+312F */
|
nuclear@0
|
993 /* U+31A0-U+31BF */
|
nuclear@0
|
994 /* Bit 52 Hangul Compatibility Jamo */
|
nuclear@0
|
995 #define TT_UCR_HANGUL_COMPATIBILITY_JAMO (1L << 20) /* U+3130-U+318F */
|
nuclear@0
|
996 /* Bit 53 Phags-Pa */
|
nuclear@0
|
997 #define TT_UCR_CJK_MISC (1L << 21) /* U+A840-U+A87F */
|
nuclear@0
|
998 #define TT_UCR_KANBUN TT_UCR_CJK_MISC /* deprecated */
|
nuclear@0
|
999 #define TT_UCR_PHAGSPA
|
nuclear@0
|
1000 /* Bit 54 Enclosed CJK Letters and Months */
|
nuclear@0
|
1001 #define TT_UCR_ENCLOSED_CJK_LETTERS_MONTHS (1L << 22) /* U+3200-U+32FF */
|
nuclear@0
|
1002 /* Bit 55 CJK Compatibility */
|
nuclear@0
|
1003 #define TT_UCR_CJK_COMPATIBILITY (1L << 23) /* U+3300-U+33FF */
|
nuclear@0
|
1004 /* Bit 56 Hangul Syllables */
|
nuclear@0
|
1005 #define TT_UCR_HANGUL (1L << 24) /* U+AC00-U+D7A3 */
|
nuclear@0
|
1006 /* Bit 57 High Surrogates */
|
nuclear@0
|
1007 /* High Private Use Surrogates */
|
nuclear@0
|
1008 /* Low Surrogates */
|
nuclear@0
|
1009 /* */
|
nuclear@0
|
1010 /* According to OpenType specs v.1.3+, */
|
nuclear@0
|
1011 /* setting bit 57 implies that there is */
|
nuclear@0
|
1012 /* at least one codepoint beyond the */
|
nuclear@0
|
1013 /* Basic Multilingual Plane that is */
|
nuclear@0
|
1014 /* supported by this font. So it really */
|
nuclear@0
|
1015 /* means >= U+10000 */
|
nuclear@0
|
1016 #define TT_UCR_SURROGATES (1L << 25) /* U+D800-U+DB7F */
|
nuclear@0
|
1017 /* U+DB80-U+DBFF */
|
nuclear@0
|
1018 /* U+DC00-U+DFFF */
|
nuclear@0
|
1019 #define TT_UCR_NON_PLANE_0 TT_UCR_SURROGATES
|
nuclear@0
|
1020 /* Bit 58 Phoenician */
|
nuclear@0
|
1021 #define TT_UCR_PHOENICIAN (1L << 26) /*U+10900-U+1091F*/
|
nuclear@0
|
1022 /* Bit 59 CJK Unified Ideographs */
|
nuclear@0
|
1023 /* CJK Radicals Supplement */
|
nuclear@0
|
1024 /* Kangxi Radicals */
|
nuclear@0
|
1025 /* Ideographic Description Characters */
|
nuclear@0
|
1026 /* CJK Unified Ideographs Extension A */
|
nuclear@0
|
1027 /* CJK Unified Ideographs Extension B */
|
nuclear@0
|
1028 /* Kanbun */
|
nuclear@0
|
1029 #define TT_UCR_CJK_UNIFIED_IDEOGRAPHS (1L << 27) /* U+4E00-U+9FFF */
|
nuclear@0
|
1030 /* U+2E80-U+2EFF */
|
nuclear@0
|
1031 /* U+2F00-U+2FDF */
|
nuclear@0
|
1032 /* U+2FF0-U+2FFF */
|
nuclear@0
|
1033 /* U+3400-U+4DB5 */
|
nuclear@0
|
1034 /*U+20000-U+2A6DF*/
|
nuclear@0
|
1035 /* U+3190-U+319F */
|
nuclear@0
|
1036 /* Bit 60 Private Use */
|
nuclear@0
|
1037 #define TT_UCR_PRIVATE_USE (1L << 28) /* U+E000-U+F8FF */
|
nuclear@0
|
1038 /* Bit 61 CJK Strokes */
|
nuclear@0
|
1039 /* CJK Compatibility Ideographs */
|
nuclear@0
|
1040 /* CJK Compatibility Ideographs Supplement */
|
nuclear@0
|
1041 #define TT_UCR_CJK_COMPATIBILITY_IDEOGRAPHS (1L << 29) /* U+31C0-U+31EF */
|
nuclear@0
|
1042 /* U+F900-U+FAFF */
|
nuclear@0
|
1043 /*U+2F800-U+2FA1F*/
|
nuclear@0
|
1044 /* Bit 62 Alphabetic Presentation Forms */
|
nuclear@0
|
1045 #define TT_UCR_ALPHABETIC_PRESENTATION_FORMS (1L << 30) /* U+FB00-U+FB4F */
|
nuclear@0
|
1046 /* Bit 63 Arabic Presentation Forms-A */
|
nuclear@0
|
1047 #define TT_UCR_ARABIC_PRESENTATIONS_A (1L << 31) /* U+FB50-U+FDFF */
|
nuclear@0
|
1048 /* Bit 64 Combining Half Marks */
|
nuclear@0
|
1049 #define TT_UCR_COMBINING_HALF_MARKS (1L << 0) /* U+FE20-U+FE2F */
|
nuclear@0
|
1050 /* Bit 65 Vertical forms */
|
nuclear@0
|
1051 /* CJK Compatibility Forms */
|
nuclear@0
|
1052 #define TT_UCR_CJK_COMPATIBILITY_FORMS (1L << 1) /* U+FE10-U+FE1F */
|
nuclear@0
|
1053 /* U+FE30-U+FE4F */
|
nuclear@0
|
1054 /* Bit 66 Small Form Variants */
|
nuclear@0
|
1055 #define TT_UCR_SMALL_FORM_VARIANTS (1L << 2) /* U+FE50-U+FE6F */
|
nuclear@0
|
1056 /* Bit 67 Arabic Presentation Forms-B */
|
nuclear@0
|
1057 #define TT_UCR_ARABIC_PRESENTATIONS_B (1L << 3) /* U+FE70-U+FEFE */
|
nuclear@0
|
1058 /* Bit 68 Halfwidth and Fullwidth Forms */
|
nuclear@0
|
1059 #define TT_UCR_HALFWIDTH_FULLWIDTH_FORMS (1L << 4) /* U+FF00-U+FFEF */
|
nuclear@0
|
1060 /* Bit 69 Specials */
|
nuclear@0
|
1061 #define TT_UCR_SPECIALS (1L << 5) /* U+FFF0-U+FFFD */
|
nuclear@0
|
1062 /* Bit 70 Tibetan */
|
nuclear@0
|
1063 #define TT_UCR_TIBETAN (1L << 6) /* U+0F00-U+0FFF */
|
nuclear@0
|
1064 /* Bit 71 Syriac */
|
nuclear@0
|
1065 #define TT_UCR_SYRIAC (1L << 7) /* U+0700-U+074F */
|
nuclear@0
|
1066 /* Bit 72 Thaana */
|
nuclear@0
|
1067 #define TT_UCR_THAANA (1L << 8) /* U+0780-U+07BF */
|
nuclear@0
|
1068 /* Bit 73 Sinhala */
|
nuclear@0
|
1069 #define TT_UCR_SINHALA (1L << 9) /* U+0D80-U+0DFF */
|
nuclear@0
|
1070 /* Bit 74 Myanmar */
|
nuclear@0
|
1071 #define TT_UCR_MYANMAR (1L << 10) /* U+1000-U+109F */
|
nuclear@0
|
1072 /* Bit 75 Ethiopic */
|
nuclear@0
|
1073 /* Ethiopic Supplement */
|
nuclear@0
|
1074 /* Ethiopic Extended */
|
nuclear@0
|
1075 #define TT_UCR_ETHIOPIC (1L << 11) /* U+1200-U+137F */
|
nuclear@0
|
1076 /* U+1380-U+139F */
|
nuclear@0
|
1077 /* U+2D80-U+2DDF */
|
nuclear@0
|
1078 /* Bit 76 Cherokee */
|
nuclear@0
|
1079 #define TT_UCR_CHEROKEE (1L << 12) /* U+13A0-U+13FF */
|
nuclear@0
|
1080 /* Bit 77 Unified Canadian Aboriginal Syllabics */
|
nuclear@0
|
1081 #define TT_UCR_CANADIAN_ABORIGINAL_SYLLABICS (1L << 13) /* U+1400-U+167F */
|
nuclear@0
|
1082 /* Bit 78 Ogham */
|
nuclear@0
|
1083 #define TT_UCR_OGHAM (1L << 14) /* U+1680-U+169F */
|
nuclear@0
|
1084 /* Bit 79 Runic */
|
nuclear@0
|
1085 #define TT_UCR_RUNIC (1L << 15) /* U+16A0-U+16FF */
|
nuclear@0
|
1086 /* Bit 80 Khmer */
|
nuclear@0
|
1087 /* Khmer Symbols */
|
nuclear@0
|
1088 #define TT_UCR_KHMER (1L << 16) /* U+1780-U+17FF */
|
nuclear@0
|
1089 /* U+19E0-U+19FF */
|
nuclear@0
|
1090 /* Bit 81 Mongolian */
|
nuclear@0
|
1091 #define TT_UCR_MONGOLIAN (1L << 17) /* U+1800-U+18AF */
|
nuclear@0
|
1092 /* Bit 82 Braille Patterns */
|
nuclear@0
|
1093 #define TT_UCR_BRAILLE (1L << 18) /* U+2800-U+28FF */
|
nuclear@0
|
1094 /* Bit 83 Yi Syllables */
|
nuclear@0
|
1095 /* Yi Radicals */
|
nuclear@0
|
1096 #define TT_UCR_YI (1L << 19) /* U+A000-U+A48F */
|
nuclear@0
|
1097 /* U+A490-U+A4CF */
|
nuclear@0
|
1098 /* Bit 84 Tagalog */
|
nuclear@0
|
1099 /* Hanunoo */
|
nuclear@0
|
1100 /* Buhid */
|
nuclear@0
|
1101 /* Tagbanwa */
|
nuclear@0
|
1102 #define TT_UCR_PHILIPPINE (1L << 20) /* U+1700-U+171F */
|
nuclear@0
|
1103 /* U+1720-U+173F */
|
nuclear@0
|
1104 /* U+1740-U+175F */
|
nuclear@0
|
1105 /* U+1760-U+177F */
|
nuclear@0
|
1106 /* Bit 85 Old Italic */
|
nuclear@0
|
1107 #define TT_UCR_OLD_ITALIC (1L << 21) /*U+10300-U+1032F*/
|
nuclear@0
|
1108 /* Bit 86 Gothic */
|
nuclear@0
|
1109 #define TT_UCR_GOTHIC (1L << 22) /*U+10330-U+1034F*/
|
nuclear@0
|
1110 /* Bit 87 Deseret */
|
nuclear@0
|
1111 #define TT_UCR_DESERET (1L << 23) /*U+10400-U+1044F*/
|
nuclear@0
|
1112 /* Bit 88 Byzantine Musical Symbols */
|
nuclear@0
|
1113 /* Musical Symbols */
|
nuclear@0
|
1114 /* Ancient Greek Musical Notation */
|
nuclear@0
|
1115 #define TT_UCR_MUSICAL_SYMBOLS (1L << 24) /*U+1D000-U+1D0FF*/
|
nuclear@0
|
1116 /*U+1D100-U+1D1FF*/
|
nuclear@0
|
1117 /*U+1D200-U+1D24F*/
|
nuclear@0
|
1118 /* Bit 89 Mathematical Alphanumeric Symbols */
|
nuclear@0
|
1119 #define TT_UCR_MATH_ALPHANUMERIC_SYMBOLS (1L << 25) /*U+1D400-U+1D7FF*/
|
nuclear@0
|
1120 /* Bit 90 Private Use (plane 15) */
|
nuclear@0
|
1121 /* Private Use (plane 16) */
|
nuclear@0
|
1122 #define TT_UCR_PRIVATE_USE_SUPPLEMENTARY (1L << 26) /*U+F0000-U+FFFFD*/
|
nuclear@0
|
1123 /*U+100000-U+10FFFD*/
|
nuclear@0
|
1124 /* Bit 91 Variation Selectors */
|
nuclear@0
|
1125 /* Variation Selectors Supplement */
|
nuclear@0
|
1126 #define TT_UCR_VARIATION_SELECTORS (1L << 27) /* U+FE00-U+FE0F */
|
nuclear@0
|
1127 /*U+E0100-U+E01EF*/
|
nuclear@0
|
1128 /* Bit 92 Tags */
|
nuclear@0
|
1129 #define TT_UCR_TAGS (1L << 28) /*U+E0000-U+E007F*/
|
nuclear@0
|
1130 /* Bit 93 Limbu */
|
nuclear@0
|
1131 #define TT_UCR_LIMBU (1L << 29) /* U+1900-U+194F */
|
nuclear@0
|
1132 /* Bit 94 Tai Le */
|
nuclear@0
|
1133 #define TT_UCR_TAI_LE (1L << 30) /* U+1950-U+197F */
|
nuclear@0
|
1134 /* Bit 95 New Tai Lue */
|
nuclear@0
|
1135 #define TT_UCR_NEW_TAI_LUE (1L << 31) /* U+1980-U+19DF */
|
nuclear@0
|
1136 /* Bit 96 Buginese */
|
nuclear@0
|
1137 #define TT_UCR_BUGINESE (1L << 0) /* U+1A00-U+1A1F */
|
nuclear@0
|
1138 /* Bit 97 Glagolitic */
|
nuclear@0
|
1139 #define TT_UCR_GLAGOLITIC (1L << 1) /* U+2C00-U+2C5F */
|
nuclear@0
|
1140 /* Bit 98 Tifinagh */
|
nuclear@0
|
1141 #define TT_UCR_TIFINAGH (1L << 2) /* U+2D30-U+2D7F */
|
nuclear@0
|
1142 /* Bit 99 Yijing Hexagram Symbols */
|
nuclear@0
|
1143 #define TT_UCR_YIJING (1L << 3) /* U+4DC0-U+4DFF */
|
nuclear@0
|
1144 /* Bit 100 Syloti Nagri */
|
nuclear@0
|
1145 #define TT_UCR_SYLOTI_NAGRI (1L << 4) /* U+A800-U+A82F */
|
nuclear@0
|
1146 /* Bit 101 Linear B Syllabary */
|
nuclear@0
|
1147 /* Linear B Ideograms */
|
nuclear@0
|
1148 /* Aegean Numbers */
|
nuclear@0
|
1149 #define TT_UCR_LINEAR_B (1L << 5) /*U+10000-U+1007F*/
|
nuclear@0
|
1150 /*U+10080-U+100FF*/
|
nuclear@0
|
1151 /*U+10100-U+1013F*/
|
nuclear@0
|
1152 /* Bit 102 Ancient Greek Numbers */
|
nuclear@0
|
1153 #define TT_UCR_ANCIENT_GREEK_NUMBERS (1L << 6) /*U+10140-U+1018F*/
|
nuclear@0
|
1154 /* Bit 103 Ugaritic */
|
nuclear@0
|
1155 #define TT_UCR_UGARITIC (1L << 7) /*U+10380-U+1039F*/
|
nuclear@0
|
1156 /* Bit 104 Old Persian */
|
nuclear@0
|
1157 #define TT_UCR_OLD_PERSIAN (1L << 8) /*U+103A0-U+103DF*/
|
nuclear@0
|
1158 /* Bit 105 Shavian */
|
nuclear@0
|
1159 #define TT_UCR_SHAVIAN (1L << 9) /*U+10450-U+1047F*/
|
nuclear@0
|
1160 /* Bit 106 Osmanya */
|
nuclear@0
|
1161 #define TT_UCR_OSMANYA (1L << 10) /*U+10480-U+104AF*/
|
nuclear@0
|
1162 /* Bit 107 Cypriot Syllabary */
|
nuclear@0
|
1163 #define TT_UCR_CYPRIOT_SYLLABARY (1L << 11) /*U+10800-U+1083F*/
|
nuclear@0
|
1164 /* Bit 108 Kharoshthi */
|
nuclear@0
|
1165 #define TT_UCR_KHAROSHTHI (1L << 12) /*U+10A00-U+10A5F*/
|
nuclear@0
|
1166 /* Bit 109 Tai Xuan Jing Symbols */
|
nuclear@0
|
1167 #define TT_UCR_TAI_XUAN_JING (1L << 13) /*U+1D300-U+1D35F*/
|
nuclear@0
|
1168 /* Bit 110 Cuneiform */
|
nuclear@0
|
1169 /* Cuneiform Numbers and Punctuation */
|
nuclear@0
|
1170 #define TT_UCR_CUNEIFORM (1L << 14) /*U+12000-U+123FF*/
|
nuclear@0
|
1171 /*U+12400-U+1247F*/
|
nuclear@0
|
1172 /* Bit 111 Counting Rod Numerals */
|
nuclear@0
|
1173 #define TT_UCR_COUNTING_ROD_NUMERALS (1L << 15) /*U+1D360-U+1D37F*/
|
nuclear@0
|
1174 /* Bit 112 Sundanese */
|
nuclear@0
|
1175 #define TT_UCR_SUNDANESE (1L << 16) /* U+1B80-U+1BBF */
|
nuclear@0
|
1176 /* Bit 113 Lepcha */
|
nuclear@0
|
1177 #define TT_UCR_LEPCHA (1L << 17) /* U+1C00-U+1C4F */
|
nuclear@0
|
1178 /* Bit 114 Ol Chiki */
|
nuclear@0
|
1179 #define TT_UCR_OL_CHIKI (1L << 18) /* U+1C50-U+1C7F */
|
nuclear@0
|
1180 /* Bit 115 Saurashtra */
|
nuclear@0
|
1181 #define TT_UCR_SAURASHTRA (1L << 19) /* U+A880-U+A8DF */
|
nuclear@0
|
1182 /* Bit 116 Kayah Li */
|
nuclear@0
|
1183 #define TT_UCR_KAYAH_LI (1L << 20) /* U+A900-U+A92F */
|
nuclear@0
|
1184 /* Bit 117 Rejang */
|
nuclear@0
|
1185 #define TT_UCR_REJANG (1L << 21) /* U+A930-U+A95F */
|
nuclear@0
|
1186 /* Bit 118 Cham */
|
nuclear@0
|
1187 #define TT_UCR_CHAM (1L << 22) /* U+AA00-U+AA5F */
|
nuclear@0
|
1188 /* Bit 119 Ancient Symbols */
|
nuclear@0
|
1189 #define TT_UCR_ANCIENT_SYMBOLS (1L << 23) /*U+10190-U+101CF*/
|
nuclear@0
|
1190 /* Bit 120 Phaistos Disc */
|
nuclear@0
|
1191 #define TT_UCR_PHAISTOS_DISC (1L << 24) /*U+101D0-U+101FF*/
|
nuclear@0
|
1192 /* Bit 121 Carian */
|
nuclear@0
|
1193 /* Lycian */
|
nuclear@0
|
1194 /* Lydian */
|
nuclear@0
|
1195 #define TT_UCR_OLD_ANATOLIAN (1L << 25) /*U+102A0-U+102DF*/
|
nuclear@0
|
1196 /*U+10280-U+1029F*/
|
nuclear@0
|
1197 /*U+10920-U+1093F*/
|
nuclear@0
|
1198 /* Bit 122 Domino Tiles */
|
nuclear@0
|
1199 /* Mahjong Tiles */
|
nuclear@0
|
1200 #define TT_UCR_GAME_TILES (1L << 26) /*U+1F030-U+1F09F*/
|
nuclear@0
|
1201 /*U+1F000-U+1F02F*/
|
nuclear@0
|
1202 /* Bit 123-127 Reserved for process-internal usage */
|
nuclear@0
|
1203
|
nuclear@0
|
1204
|
nuclear@0
|
1205 /*************************************************************************/
|
nuclear@0
|
1206 /* */
|
nuclear@0
|
1207 /* Some compilers have a very limited length of identifiers. */
|
nuclear@0
|
1208 /* */
|
nuclear@0
|
1209 #if defined( __TURBOC__ ) && __TURBOC__ < 0x0410 || defined( __PACIFIC__ )
|
nuclear@0
|
1210 #define HAVE_LIMIT_ON_IDENTS
|
nuclear@0
|
1211 #endif
|
nuclear@0
|
1212
|
nuclear@0
|
1213
|
nuclear@0
|
1214 #ifndef HAVE_LIMIT_ON_IDENTS
|
nuclear@0
|
1215
|
nuclear@0
|
1216
|
nuclear@0
|
1217 /*************************************************************************/
|
nuclear@0
|
1218 /* */
|
nuclear@0
|
1219 /* Here some alias #defines in order to be clearer. */
|
nuclear@0
|
1220 /* */
|
nuclear@0
|
1221 /* These are not always #defined to stay within the 31~character limit */
|
nuclear@0
|
1222 /* which some compilers have. */
|
nuclear@0
|
1223 /* */
|
nuclear@0
|
1224 /* Credits go to Dave Hoo <dhoo@flash.net> for pointing out that modern */
|
nuclear@0
|
1225 /* Borland compilers (read: from BC++ 3.1 on) can increase this limit. */
|
nuclear@0
|
1226 /* If you get a warning with such a compiler, use the -i40 switch. */
|
nuclear@0
|
1227 /* */
|
nuclear@0
|
1228 #define TT_UCR_ARABIC_PRESENTATION_FORMS_A \
|
nuclear@0
|
1229 TT_UCR_ARABIC_PRESENTATIONS_A
|
nuclear@0
|
1230 #define TT_UCR_ARABIC_PRESENTATION_FORMS_B \
|
nuclear@0
|
1231 TT_UCR_ARABIC_PRESENTATIONS_B
|
nuclear@0
|
1232
|
nuclear@0
|
1233 #define TT_UCR_COMBINING_DIACRITICAL_MARKS \
|
nuclear@0
|
1234 TT_UCR_COMBINING_DIACRITICS
|
nuclear@0
|
1235 #define TT_UCR_COMBINING_DIACRITICAL_MARKS_SYMB \
|
nuclear@0
|
1236 TT_UCR_COMBINING_DIACRITICS_SYMB
|
nuclear@0
|
1237
|
nuclear@0
|
1238
|
nuclear@0
|
1239 #endif /* !HAVE_LIMIT_ON_IDENTS */
|
nuclear@0
|
1240
|
nuclear@0
|
1241
|
nuclear@0
|
1242 FT_END_HEADER
|
nuclear@0
|
1243
|
nuclear@0
|
1244 #endif /* __TTNAMEID_H__ */
|
nuclear@0
|
1245
|
nuclear@0
|
1246
|
nuclear@0
|
1247 /* END */
|