Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenttnameid.h
Go to the documentation of this file.
00001 /***************************************************************************/ 00002 /* */ 00003 /* ttnameid.h */ 00004 /* */ 00005 /* TrueType name ID definitions (specification only). */ 00006 /* */ 00007 /* Copyright 1996-2002, 2003, 2004, 2006, 2007, 2008 by */ 00008 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 00015 /* */ 00016 /***************************************************************************/ 00017 00018 00019 #ifndef __TTNAMEID_H__ 00020 #define __TTNAMEID_H__ 00021 00022 00023 #include <ft2build.h> 00024 00025 00026 FT_BEGIN_HEADER 00027 00028 00029 /*************************************************************************/ 00030 /* */ 00031 /* <Section> */ 00032 /* truetype_tables */ 00033 /* */ 00034 00035 00036 /*************************************************************************/ 00037 /* */ 00038 /* Possible values for the `platform' identifier code in the name */ 00039 /* records of the TTF `name' table. */ 00040 /* */ 00041 /*************************************************************************/ 00042 00043 00044 /*********************************************************************** 00045 * 00046 * @enum: 00047 * TT_PLATFORM_XXX 00048 * 00049 * @description: 00050 * A list of valid values for the `platform_id' identifier code in 00051 * @FT_CharMapRec and @FT_SfntName structures. 00052 * 00053 * @values: 00054 * TT_PLATFORM_APPLE_UNICODE :: 00055 * Used by Apple to indicate a Unicode character map and/or name entry. 00056 * See @TT_APPLE_ID_XXX for corresponding `encoding_id' values. Note 00057 * that name entries in this format are coded as big-endian UCS-2 00058 * character codes _only_. 00059 * 00060 * TT_PLATFORM_MACINTOSH :: 00061 * Used by Apple to indicate a MacOS-specific charmap and/or name entry. 00062 * See @TT_MAC_ID_XXX for corresponding `encoding_id' values. Note that 00063 * most TrueType fonts contain an Apple roman charmap to be usable on 00064 * MacOS systems (even if they contain a Microsoft charmap as well). 00065 * 00066 * TT_PLATFORM_ISO :: 00067 * This value was used to specify ISO/IEC 10646 charmaps. It is however 00068 * now deprecated. See @TT_ISO_ID_XXX for a list of corresponding 00069 * `encoding_id' values. 00070 * 00071 * TT_PLATFORM_MICROSOFT :: 00072 * Used by Microsoft to indicate Windows-specific charmaps. See 00073 * @TT_MS_ID_XXX for a list of corresponding `encoding_id' values. 00074 * Note that most fonts contain a Unicode charmap using 00075 * (TT_PLATFORM_MICROSOFT, @TT_MS_ID_UNICODE_CS). 00076 * 00077 * TT_PLATFORM_CUSTOM :: 00078 * Used to indicate application-specific charmaps. 00079 * 00080 * TT_PLATFORM_ADOBE :: 00081 * This value isn't part of any font format specification, but is used 00082 * by FreeType to report Adobe-specific charmaps in an @FT_CharMapRec 00083 * structure. See @TT_ADOBE_ID_XXX. 00084 */ 00085 00086 #define TT_PLATFORM_APPLE_UNICODE 0 00087 #define TT_PLATFORM_MACINTOSH 1 00088 #define TT_PLATFORM_ISO 2 /* deprecated */ 00089 #define TT_PLATFORM_MICROSOFT 3 00090 #define TT_PLATFORM_CUSTOM 4 00091 #define TT_PLATFORM_ADOBE 7 /* artificial */ 00092 00093 00094 /*********************************************************************** 00095 * 00096 * @enum: 00097 * TT_APPLE_ID_XXX 00098 * 00099 * @description: 00100 * A list of valid values for the `encoding_id' for 00101 * @TT_PLATFORM_APPLE_UNICODE charmaps and name entries. 00102 * 00103 * @values: 00104 * TT_APPLE_ID_DEFAULT :: 00105 * Unicode version 1.0. 00106 * 00107 * TT_APPLE_ID_UNICODE_1_1 :: 00108 * Unicode 1.1; specifies Hangul characters starting at U+34xx. 00109 * 00110 * TT_APPLE_ID_ISO_10646 :: 00111 * Deprecated (identical to preceding). 00112 * 00113 * TT_APPLE_ID_UNICODE_2_0 :: 00114 * Unicode 2.0 and beyond (UTF-16 BMP only). 00115 * 00116 * TT_APPLE_ID_UNICODE_32 :: 00117 * Unicode 3.1 and beyond, using UTF-32. 00118 * 00119 * TT_APPLE_ID_VARIANT_SELECTOR :: 00120 * From Adobe, not Apple. Not a normal cmap. Specifies variations 00121 * on a real cmap. 00122 */ 00123 00124 #define TT_APPLE_ID_DEFAULT 0 /* Unicode 1.0 */ 00125 #define TT_APPLE_ID_UNICODE_1_1 1 /* specify Hangul at U+34xx */ 00126 #define TT_APPLE_ID_ISO_10646 2 /* deprecated */ 00127 #define TT_APPLE_ID_UNICODE_2_0 3 /* or later */ 00128 #define TT_APPLE_ID_UNICODE_32 4 /* 2.0 or later, full repertoire */ 00129 #define TT_APPLE_ID_VARIANT_SELECTOR 5 /* variation selector data */ 00130 00131 00132 /*********************************************************************** 00133 * 00134 * @enum: 00135 * TT_MAC_ID_XXX 00136 * 00137 * @description: 00138 * A list of valid values for the `encoding_id' for 00139 * @TT_PLATFORM_MACINTOSH charmaps and name entries. 00140 * 00141 * @values: 00142 * TT_MAC_ID_ROMAN :: 00143 * TT_MAC_ID_JAPANESE :: 00144 * TT_MAC_ID_TRADITIONAL_CHINESE :: 00145 * TT_MAC_ID_KOREAN :: 00146 * TT_MAC_ID_ARABIC :: 00147 * TT_MAC_ID_HEBREW :: 00148 * TT_MAC_ID_GREEK :: 00149 * TT_MAC_ID_RUSSIAN :: 00150 * TT_MAC_ID_RSYMBOL :: 00151 * TT_MAC_ID_DEVANAGARI :: 00152 * TT_MAC_ID_GURMUKHI :: 00153 * TT_MAC_ID_GUJARATI :: 00154 * TT_MAC_ID_ORIYA :: 00155 * TT_MAC_ID_BENGALI :: 00156 * TT_MAC_ID_TAMIL :: 00157 * TT_MAC_ID_TELUGU :: 00158 * TT_MAC_ID_KANNADA :: 00159 * TT_MAC_ID_MALAYALAM :: 00160 * TT_MAC_ID_SINHALESE :: 00161 * TT_MAC_ID_BURMESE :: 00162 * TT_MAC_ID_KHMER :: 00163 * TT_MAC_ID_THAI :: 00164 * TT_MAC_ID_LAOTIAN :: 00165 * TT_MAC_ID_GEORGIAN :: 00166 * TT_MAC_ID_ARMENIAN :: 00167 * TT_MAC_ID_MALDIVIAN :: 00168 * TT_MAC_ID_SIMPLIFIED_CHINESE :: 00169 * TT_MAC_ID_TIBETAN :: 00170 * TT_MAC_ID_MONGOLIAN :: 00171 * TT_MAC_ID_GEEZ :: 00172 * TT_MAC_ID_SLAVIC :: 00173 * TT_MAC_ID_VIETNAMESE :: 00174 * TT_MAC_ID_SINDHI :: 00175 * TT_MAC_ID_UNINTERP :: 00176 */ 00177 00178 #define TT_MAC_ID_ROMAN 0 00179 #define TT_MAC_ID_JAPANESE 1 00180 #define TT_MAC_ID_TRADITIONAL_CHINESE 2 00181 #define TT_MAC_ID_KOREAN 3 00182 #define TT_MAC_ID_ARABIC 4 00183 #define TT_MAC_ID_HEBREW 5 00184 #define TT_MAC_ID_GREEK 6 00185 #define TT_MAC_ID_RUSSIAN 7 00186 #define TT_MAC_ID_RSYMBOL 8 00187 #define TT_MAC_ID_DEVANAGARI 9 00188 #define TT_MAC_ID_GURMUKHI 10 00189 #define TT_MAC_ID_GUJARATI 11 00190 #define TT_MAC_ID_ORIYA 12 00191 #define TT_MAC_ID_BENGALI 13 00192 #define TT_MAC_ID_TAMIL 14 00193 #define TT_MAC_ID_TELUGU 15 00194 #define TT_MAC_ID_KANNADA 16 00195 #define TT_MAC_ID_MALAYALAM 17 00196 #define TT_MAC_ID_SINHALESE 18 00197 #define TT_MAC_ID_BURMESE 19 00198 #define TT_MAC_ID_KHMER 20 00199 #define TT_MAC_ID_THAI 21 00200 #define TT_MAC_ID_LAOTIAN 22 00201 #define TT_MAC_ID_GEORGIAN 23 00202 #define TT_MAC_ID_ARMENIAN 24 00203 #define TT_MAC_ID_MALDIVIAN 25 00204 #define TT_MAC_ID_SIMPLIFIED_CHINESE 25 00205 #define TT_MAC_ID_TIBETAN 26 00206 #define TT_MAC_ID_MONGOLIAN 27 00207 #define TT_MAC_ID_GEEZ 28 00208 #define TT_MAC_ID_SLAVIC 29 00209 #define TT_MAC_ID_VIETNAMESE 30 00210 #define TT_MAC_ID_SINDHI 31 00211 #define TT_MAC_ID_UNINTERP 32 00212 00213 00214 /*********************************************************************** 00215 * 00216 * @enum: 00217 * TT_ISO_ID_XXX 00218 * 00219 * @description: 00220 * A list of valid values for the `encoding_id' for 00221 * @TT_PLATFORM_ISO charmaps and name entries. 00222 * 00223 * Their use is now deprecated. 00224 * 00225 * @values: 00226 * TT_ISO_ID_7BIT_ASCII :: 00227 * ASCII. 00228 * TT_ISO_ID_10646 :: 00229 * ISO/10646. 00230 * TT_ISO_ID_8859_1 :: 00231 * Also known as Latin-1. 00232 */ 00233 00234 #define TT_ISO_ID_7BIT_ASCII 0 00235 #define TT_ISO_ID_10646 1 00236 #define TT_ISO_ID_8859_1 2 00237 00238 00239 /*********************************************************************** 00240 * 00241 * @enum: 00242 * TT_MS_ID_XXX 00243 * 00244 * @description: 00245 * A list of valid values for the `encoding_id' for 00246 * @TT_PLATFORM_MICROSOFT charmaps and name entries. 00247 * 00248 * @values: 00249 * TT_MS_ID_SYMBOL_CS :: 00250 * Corresponds to Microsoft symbol encoding. See 00251 * @FT_ENCODING_MS_SYMBOL. 00252 * 00253 * TT_MS_ID_UNICODE_CS :: 00254 * Corresponds to a Microsoft WGL4 charmap, matching Unicode. See 00255 * @FT_ENCODING_UNICODE. 00256 * 00257 * TT_MS_ID_SJIS :: 00258 * Corresponds to SJIS Japanese encoding. See @FT_ENCODING_SJIS. 00259 * 00260 * TT_MS_ID_GB2312 :: 00261 * Corresponds to Simplified Chinese as used in Mainland China. See 00262 * @FT_ENCODING_GB2312. 00263 * 00264 * TT_MS_ID_BIG_5 :: 00265 * Corresponds to Traditional Chinese as used in Taiwan and Hong Kong. 00266 * See @FT_ENCODING_BIG5. 00267 * 00268 * TT_MS_ID_WANSUNG :: 00269 * Corresponds to Korean Wansung encoding. See @FT_ENCODING_WANSUNG. 00270 * 00271 * TT_MS_ID_JOHAB :: 00272 * Corresponds to Johab encoding. See @FT_ENCODING_JOHAB. 00273 * 00274 * TT_MS_ID_UCS_4 :: 00275 * Corresponds to UCS-4 or UTF-32 charmaps. This has been added to 00276 * the OpenType specification version 1.4 (mid-2001.) 00277 */ 00278 00279 #define TT_MS_ID_SYMBOL_CS 0 00280 #define TT_MS_ID_UNICODE_CS 1 00281 #define TT_MS_ID_SJIS 2 00282 #define TT_MS_ID_GB2312 3 00283 #define TT_MS_ID_BIG_5 4 00284 #define TT_MS_ID_WANSUNG 5 00285 #define TT_MS_ID_JOHAB 6 00286 #define TT_MS_ID_UCS_4 10 00287 00288 00289 /*********************************************************************** 00290 * 00291 * @enum: 00292 * TT_ADOBE_ID_XXX 00293 * 00294 * @description: 00295 * A list of valid values for the `encoding_id' for 00296 * @TT_PLATFORM_ADOBE charmaps. This is a FreeType-specific extension! 00297 * 00298 * @values: 00299 * TT_ADOBE_ID_STANDARD :: 00300 * Adobe standard encoding. 00301 * TT_ADOBE_ID_EXPERT :: 00302 * Adobe expert encoding. 00303 * TT_ADOBE_ID_CUSTOM :: 00304 * Adobe custom encoding. 00305 * TT_ADOBE_ID_LATIN_1 :: 00306 * Adobe Latin~1 encoding. 00307 */ 00308 00309 #define TT_ADOBE_ID_STANDARD 0 00310 #define TT_ADOBE_ID_EXPERT 1 00311 #define TT_ADOBE_ID_CUSTOM 2 00312 #define TT_ADOBE_ID_LATIN_1 3 00313 00314 00315 /*************************************************************************/ 00316 /* */ 00317 /* Possible values of the language identifier field in the name records */ 00318 /* of the TTF `name' table if the `platform' identifier code is */ 00319 /* TT_PLATFORM_MACINTOSH. */ 00320 /* */ 00321 /* The canonical source for the Apple assigned Language ID's is at */ 00322 /* */ 00323 /* http://fonts.apple.com/TTRefMan/RM06/Chap6name.html */ 00324 /* */ 00325 #define TT_MAC_LANGID_ENGLISH 0 00326 #define TT_MAC_LANGID_FRENCH 1 00327 #define TT_MAC_LANGID_GERMAN 2 00328 #define TT_MAC_LANGID_ITALIAN 3 00329 #define TT_MAC_LANGID_DUTCH 4 00330 #define TT_MAC_LANGID_SWEDISH 5 00331 #define TT_MAC_LANGID_SPANISH 6 00332 #define TT_MAC_LANGID_DANISH 7 00333 #define TT_MAC_LANGID_PORTUGUESE 8 00334 #define TT_MAC_LANGID_NORWEGIAN 9 00335 #define TT_MAC_LANGID_HEBREW 10 00336 #define TT_MAC_LANGID_JAPANESE 11 00337 #define TT_MAC_LANGID_ARABIC 12 00338 #define TT_MAC_LANGID_FINNISH 13 00339 #define TT_MAC_LANGID_GREEK 14 00340 #define TT_MAC_LANGID_ICELANDIC 15 00341 #define TT_MAC_LANGID_MALTESE 16 00342 #define TT_MAC_LANGID_TURKISH 17 00343 #define TT_MAC_LANGID_CROATIAN 18 00344 #define TT_MAC_LANGID_CHINESE_TRADITIONAL 19 00345 #define TT_MAC_LANGID_URDU 20 00346 #define TT_MAC_LANGID_HINDI 21 00347 #define TT_MAC_LANGID_THAI 22 00348 #define TT_MAC_LANGID_KOREAN 23 00349 #define TT_MAC_LANGID_LITHUANIAN 24 00350 #define TT_MAC_LANGID_POLISH 25 00351 #define TT_MAC_LANGID_HUNGARIAN 26 00352 #define TT_MAC_LANGID_ESTONIAN 27 00353 #define TT_MAC_LANGID_LETTISH 28 00354 #define TT_MAC_LANGID_SAAMISK 29 00355 #define TT_MAC_LANGID_FAEROESE 30 00356 #define TT_MAC_LANGID_FARSI 31 00357 #define TT_MAC_LANGID_RUSSIAN 32 00358 #define TT_MAC_LANGID_CHINESE_SIMPLIFIED 33 00359 #define TT_MAC_LANGID_FLEMISH 34 00360 #define TT_MAC_LANGID_IRISH 35 00361 #define TT_MAC_LANGID_ALBANIAN 36 00362 #define TT_MAC_LANGID_ROMANIAN 37 00363 #define TT_MAC_LANGID_CZECH 38 00364 #define TT_MAC_LANGID_SLOVAK 39 00365 #define TT_MAC_LANGID_SLOVENIAN 40 00366 #define TT_MAC_LANGID_YIDDISH 41 00367 #define TT_MAC_LANGID_SERBIAN 42 00368 #define TT_MAC_LANGID_MACEDONIAN 43 00369 #define TT_MAC_LANGID_BULGARIAN 44 00370 #define TT_MAC_LANGID_UKRAINIAN 45 00371 #define TT_MAC_LANGID_BYELORUSSIAN 46 00372 #define TT_MAC_LANGID_UZBEK 47 00373 #define TT_MAC_LANGID_KAZAKH 48 00374 #define TT_MAC_LANGID_AZERBAIJANI 49 00375 #define TT_MAC_LANGID_AZERBAIJANI_CYRILLIC_SCRIPT 49 00376 #define TT_MAC_LANGID_AZERBAIJANI_ARABIC_SCRIPT 50 00377 #define TT_MAC_LANGID_ARMENIAN 51 00378 #define TT_MAC_LANGID_GEORGIAN 52 00379 #define TT_MAC_LANGID_MOLDAVIAN 53 00380 #define TT_MAC_LANGID_KIRGHIZ 54 00381 #define TT_MAC_LANGID_TAJIKI 55 00382 #define TT_MAC_LANGID_TURKMEN 56 00383 #define TT_MAC_LANGID_MONGOLIAN 57 00384 #define TT_MAC_LANGID_MONGOLIAN_MONGOLIAN_SCRIPT 57 00385 #define TT_MAC_LANGID_MONGOLIAN_CYRILLIC_SCRIPT 58 00386 #define TT_MAC_LANGID_PASHTO 59 00387 #define TT_MAC_LANGID_KURDISH 60 00388 #define TT_MAC_LANGID_KASHMIRI 61 00389 #define TT_MAC_LANGID_SINDHI 62 00390 #define TT_MAC_LANGID_TIBETAN 63 00391 #define TT_MAC_LANGID_NEPALI 64 00392 #define TT_MAC_LANGID_SANSKRIT 65 00393 #define TT_MAC_LANGID_MARATHI 66 00394 #define TT_MAC_LANGID_BENGALI 67 00395 #define TT_MAC_LANGID_ASSAMESE 68 00396 #define TT_MAC_LANGID_GUJARATI 69 00397 #define TT_MAC_LANGID_PUNJABI 70 00398 #define TT_MAC_LANGID_ORIYA 71 00399 #define TT_MAC_LANGID_MALAYALAM 72 00400 #define TT_MAC_LANGID_KANNADA 73 00401 #define TT_MAC_LANGID_TAMIL 74 00402 #define TT_MAC_LANGID_TELUGU 75 00403 #define TT_MAC_LANGID_SINHALESE 76 00404 #define TT_MAC_LANGID_BURMESE 77 00405 #define TT_MAC_LANGID_KHMER 78 00406 #define TT_MAC_LANGID_LAO 79 00407 #define TT_MAC_LANGID_VIETNAMESE 80 00408 #define TT_MAC_LANGID_INDONESIAN 81 00409 #define TT_MAC_LANGID_TAGALOG 82 00410 #define TT_MAC_LANGID_MALAY_ROMAN_SCRIPT 83 00411 #define TT_MAC_LANGID_MALAY_ARABIC_SCRIPT 84 00412 #define TT_MAC_LANGID_AMHARIC 85 00413 #define TT_MAC_LANGID_TIGRINYA 86 00414 #define TT_MAC_LANGID_GALLA 87 00415 #define TT_MAC_LANGID_SOMALI 88 00416 #define TT_MAC_LANGID_SWAHILI 89 00417 #define TT_MAC_LANGID_RUANDA 90 00418 #define TT_MAC_LANGID_RUNDI 91 00419 #define TT_MAC_LANGID_CHEWA 92 00420 #define TT_MAC_LANGID_MALAGASY 93 00421 #define TT_MAC_LANGID_ESPERANTO 94 00422 #define TT_MAC_LANGID_WELSH 128 00423 #define TT_MAC_LANGID_BASQUE 129 00424 #define TT_MAC_LANGID_CATALAN 130 00425 #define TT_MAC_LANGID_LATIN 131 00426 #define TT_MAC_LANGID_QUECHUA 132 00427 #define TT_MAC_LANGID_GUARANI 133 00428 #define TT_MAC_LANGID_AYMARA 134 00429 #define TT_MAC_LANGID_TATAR 135 00430 #define TT_MAC_LANGID_UIGHUR 136 00431 #define TT_MAC_LANGID_DZONGKHA 137 00432 #define TT_MAC_LANGID_JAVANESE 138 00433 #define TT_MAC_LANGID_SUNDANESE 139 00434 00435 00436 #if 0 /* these seem to be errors that have been dropped */ 00437 00438 #define TT_MAC_LANGID_SCOTTISH_GAELIC 140 00439 #define TT_MAC_LANGID_IRISH_GAELIC 141 00440 00441 #endif 00442 00443 00444 /* The following codes are new as of 2000-03-10 */ 00445 #define TT_MAC_LANGID_GALICIAN 140 00446 #define TT_MAC_LANGID_AFRIKAANS 141 00447 #define TT_MAC_LANGID_BRETON 142 00448 #define TT_MAC_LANGID_INUKTITUT 143 00449 #define TT_MAC_LANGID_SCOTTISH_GAELIC 144 00450 #define TT_MAC_LANGID_MANX_GAELIC 145 00451 #define TT_MAC_LANGID_IRISH_GAELIC 146 00452 #define TT_MAC_LANGID_TONGAN 147 00453 #define TT_MAC_LANGID_GREEK_POLYTONIC 148 00454 #define TT_MAC_LANGID_GREELANDIC 149 00455 #define TT_MAC_LANGID_AZERBAIJANI_ROMAN_SCRIPT 150 00456 00457 00458 /*************************************************************************/ 00459 /* */ 00460 /* Possible values of the language identifier field in the name records */ 00461 /* of the TTF `name' table if the `platform' identifier code is */ 00462 /* TT_PLATFORM_MICROSOFT. */ 00463 /* */ 00464 /* The canonical source for the MS assigned LCID's (seems to) be at */ 00465 /* */ 00466 /* http://www.microsoft.com/globaldev/reference/lcid-all.mspx */ 00467 /* */ 00468 /* It used to be at various places, among them */ 00469 /* */ 00470 /* http://www.microsoft.com/typography/OTSPEC/lcid-cp.txt */ 00471 /* http://www.microsoft.com/globaldev/reference/loclanghome.asp */ 00472 /* http://support.microsoft.com/support/kb/articles/Q224/8/04.ASP */ 00473 /* http://msdn.microsoft.com/library/en-us/passport25/ */ 00474 /* NET_Passport_VBScript_Documentation/Single_Sign_In/ */ 00475 /* Advanced_Single_Sign_In/Localization_and_LCIDs.asp */ 00476 /* */ 00477 /* Hopefully, it seems now that the Globaldev site prevails... */ 00478 /* (updated by Antoine, 2004-02-17) */ 00479 00480 #define TT_MS_LANGID_ARABIC_GENERAL 0x0001 00481 #define TT_MS_LANGID_ARABIC_SAUDI_ARABIA 0x0401 00482 #define TT_MS_LANGID_ARABIC_IRAQ 0x0801 00483 #define TT_MS_LANGID_ARABIC_EGYPT 0x0c01 00484 #define TT_MS_LANGID_ARABIC_LIBYA 0x1001 00485 #define TT_MS_LANGID_ARABIC_ALGERIA 0x1401 00486 #define TT_MS_LANGID_ARABIC_MOROCCO 0x1801 00487 #define TT_MS_LANGID_ARABIC_TUNISIA 0x1c01 00488 #define TT_MS_LANGID_ARABIC_OMAN 0x2001 00489 #define TT_MS_LANGID_ARABIC_YEMEN 0x2401 00490 #define TT_MS_LANGID_ARABIC_SYRIA 0x2801 00491 #define TT_MS_LANGID_ARABIC_JORDAN 0x2c01 00492 #define TT_MS_LANGID_ARABIC_LEBANON 0x3001 00493 #define TT_MS_LANGID_ARABIC_KUWAIT 0x3401 00494 #define TT_MS_LANGID_ARABIC_UAE 0x3801 00495 #define TT_MS_LANGID_ARABIC_BAHRAIN 0x3c01 00496 #define TT_MS_LANGID_ARABIC_QATAR 0x4001 00497 #define TT_MS_LANGID_BULGARIAN_BULGARIA 0x0402 00498 #define TT_MS_LANGID_CATALAN_SPAIN 0x0403 00499 #define TT_MS_LANGID_CHINESE_GENERAL 0x0004 00500 #define TT_MS_LANGID_CHINESE_TAIWAN 0x0404 00501 #define TT_MS_LANGID_CHINESE_PRC 0x0804 00502 #define TT_MS_LANGID_CHINESE_HONG_KONG 0x0c04 00503 #define TT_MS_LANGID_CHINESE_SINGAPORE 0x1004 00504 00505 #if 1 /* this looks like the correct value */ 00506 #define TT_MS_LANGID_CHINESE_MACAU 0x1404 00507 #else /* but beware, Microsoft may change its mind... 00508 the most recent Word reference has the following: */ 00509 #define TT_MS_LANGID_CHINESE_MACAU TT_MS_LANGID_CHINESE_HONG_KONG 00510 #endif 00511 00512 #if 0 /* used only with .NET `cultures'; commented out */ 00513 #define TT_MS_LANGID_CHINESE_TRADITIONAL 0x7C04 00514 #endif 00515 00516 #define TT_MS_LANGID_CZECH_CZECH_REPUBLIC 0x0405 00517 #define TT_MS_LANGID_DANISH_DENMARK 0x0406 00518 #define TT_MS_LANGID_GERMAN_GERMANY 0x0407 00519 #define TT_MS_LANGID_GERMAN_SWITZERLAND 0x0807 00520 #define TT_MS_LANGID_GERMAN_AUSTRIA 0x0c07 00521 #define TT_MS_LANGID_GERMAN_LUXEMBOURG 0x1007 00522 #define TT_MS_LANGID_GERMAN_LIECHTENSTEI 0x1407 00523 #define TT_MS_LANGID_GREEK_GREECE 0x0408 00524 00525 /* don't ask what this one means... It is commented out currently. */ 00526 #if 0 00527 #define TT_MS_LANGID_GREEK_GREECE2 0x2008 00528 #endif 00529 00530 #define TT_MS_LANGID_ENGLISH_GENERAL 0x0009 00531 #define TT_MS_LANGID_ENGLISH_UNITED_STATES 0x0409 00532 #define TT_MS_LANGID_ENGLISH_UNITED_KINGDOM 0x0809 00533 #define TT_MS_LANGID_ENGLISH_AUSTRALIA 0x0c09 00534 #define TT_MS_LANGID_ENGLISH_CANADA 0x1009 00535 #define TT_MS_LANGID_ENGLISH_NEW_ZEALAND 0x1409 00536 #define TT_MS_LANGID_ENGLISH_IRELAND 0x1809 00537 #define TT_MS_LANGID_ENGLISH_SOUTH_AFRICA 0x1c09 00538 #define TT_MS_LANGID_ENGLISH_JAMAICA 0x2009 00539 #define TT_MS_LANGID_ENGLISH_CARIBBEAN 0x2409 00540 #define TT_MS_LANGID_ENGLISH_BELIZE 0x2809 00541 #define TT_MS_LANGID_ENGLISH_TRINIDAD 0x2c09 00542 #define TT_MS_LANGID_ENGLISH_ZIMBABWE 0x3009 00543 #define TT_MS_LANGID_ENGLISH_PHILIPPINES 0x3409 00544 #define TT_MS_LANGID_ENGLISH_INDONESIA 0x3809 00545 #define TT_MS_LANGID_ENGLISH_HONG_KONG 0x3c09 00546 #define TT_MS_LANGID_ENGLISH_INDIA 0x4009 00547 #define TT_MS_LANGID_ENGLISH_MALAYSIA 0x4409 00548 #define TT_MS_LANGID_ENGLISH_SINGAPORE 0x4809 00549 #define TT_MS_LANGID_SPANISH_SPAIN_TRADITIONAL_SORT 0x040a 00550 #define TT_MS_LANGID_SPANISH_MEXICO 0x080a 00551 #define TT_MS_LANGID_SPANISH_SPAIN_INTERNATIONAL_SORT 0x0c0a 00552 #define TT_MS_LANGID_SPANISH_GUATEMALA 0x100a 00553 #define TT_MS_LANGID_SPANISH_COSTA_RICA 0x140a 00554 #define TT_MS_LANGID_SPANISH_PANAMA 0x180a 00555 #define TT_MS_LANGID_SPANISH_DOMINICAN_REPUBLIC 0x1c0a 00556 #define TT_MS_LANGID_SPANISH_VENEZUELA 0x200a 00557 #define TT_MS_LANGID_SPANISH_COLOMBIA 0x240a 00558 #define TT_MS_LANGID_SPANISH_PERU 0x280a 00559 #define TT_MS_LANGID_SPANISH_ARGENTINA 0x2c0a 00560 #define TT_MS_LANGID_SPANISH_ECUADOR 0x300a 00561 #define TT_MS_LANGID_SPANISH_CHILE 0x340a 00562 #define TT_MS_LANGID_SPANISH_URUGUAY 0x380a 00563 #define TT_MS_LANGID_SPANISH_PARAGUAY 0x3c0a 00564 #define TT_MS_LANGID_SPANISH_BOLIVIA 0x400a 00565 #define TT_MS_LANGID_SPANISH_EL_SALVADOR 0x440a 00566 #define TT_MS_LANGID_SPANISH_HONDURAS 0x480a 00567 #define TT_MS_LANGID_SPANISH_NICARAGUA 0x4c0a 00568 #define TT_MS_LANGID_SPANISH_PUERTO_RICO 0x500a 00569 #define TT_MS_LANGID_SPANISH_UNITED_STATES 0x540a 00570 /* The following ID blatantly violate MS specs by using a */ 00571 /* sublanguage > 0x1F. */ 00572 #define TT_MS_LANGID_SPANISH_LATIN_AMERICA 0xE40aU 00573 #define TT_MS_LANGID_FINNISH_FINLAND 0x040b 00574 #define TT_MS_LANGID_FRENCH_FRANCE 0x040c 00575 #define TT_MS_LANGID_FRENCH_BELGIUM 0x080c 00576 #define TT_MS_LANGID_FRENCH_CANADA 0x0c0c 00577 #define TT_MS_LANGID_FRENCH_SWITZERLAND 0x100c 00578 #define TT_MS_LANGID_FRENCH_LUXEMBOURG 0x140c 00579 #define TT_MS_LANGID_FRENCH_MONACO 0x180c 00580 #define TT_MS_LANGID_FRENCH_WEST_INDIES 0x1c0c 00581 #define TT_MS_LANGID_FRENCH_REUNION 0x200c 00582 #define TT_MS_LANGID_FRENCH_CONGO 0x240c 00583 /* which was formerly: */ 00584 #define TT_MS_LANGID_FRENCH_ZAIRE TT_MS_LANGID_FRENCH_CONGO 00585 #define TT_MS_LANGID_FRENCH_SENEGAL 0x280c 00586 #define TT_MS_LANGID_FRENCH_CAMEROON 0x2c0c 00587 #define TT_MS_LANGID_FRENCH_COTE_D_IVOIRE 0x300c 00588 #define TT_MS_LANGID_FRENCH_MALI 0x340c 00589 #define TT_MS_LANGID_FRENCH_MOROCCO 0x380c 00590 #define TT_MS_LANGID_FRENCH_HAITI 0x3c0c 00591 /* and another violation of the spec (see 0xE40aU) */ 00592 #define TT_MS_LANGID_FRENCH_NORTH_AFRICA 0xE40cU 00593 #define TT_MS_LANGID_HEBREW_ISRAEL 0x040d 00594 #define TT_MS_LANGID_HUNGARIAN_HUNGARY 0x040e 00595 #define TT_MS_LANGID_ICELANDIC_ICELAND 0x040f 00596 #define TT_MS_LANGID_ITALIAN_ITALY 0x0410 00597 #define TT_MS_LANGID_ITALIAN_SWITZERLAND 0x0810 00598 #define TT_MS_LANGID_JAPANESE_JAPAN 0x0411 00599 #define TT_MS_LANGID_KOREAN_EXTENDED_WANSUNG_KOREA 0x0412 00600 #define TT_MS_LANGID_KOREAN_JOHAB_KOREA 0x0812 00601 #define TT_MS_LANGID_DUTCH_NETHERLANDS 0x0413 00602 #define TT_MS_LANGID_DUTCH_BELGIUM 0x0813 00603 #define TT_MS_LANGID_NORWEGIAN_NORWAY_BOKMAL 0x0414 00604 #define TT_MS_LANGID_NORWEGIAN_NORWAY_NYNORSK 0x0814 00605 #define TT_MS_LANGID_POLISH_POLAND 0x0415 00606 #define TT_MS_LANGID_PORTUGUESE_BRAZIL 0x0416 00607 #define TT_MS_LANGID_PORTUGUESE_PORTUGAL 0x0816 00608 #define TT_MS_LANGID_RHAETO_ROMANIC_SWITZERLAND 0x0417 00609 #define TT_MS_LANGID_ROMANIAN_ROMANIA 0x0418 00610 #define TT_MS_LANGID_MOLDAVIAN_MOLDAVIA 0x0818 00611 #define TT_MS_LANGID_RUSSIAN_RUSSIA 0x0419 00612 #define TT_MS_LANGID_RUSSIAN_MOLDAVIA 0x0819 00613 #define TT_MS_LANGID_CROATIAN_CROATIA 0x041a 00614 #define TT_MS_LANGID_SERBIAN_SERBIA_LATIN 0x081a 00615 #define TT_MS_LANGID_SERBIAN_SERBIA_CYRILLIC 0x0c1a 00616 00617 #if 0 /* this used to be this value, but it looks like we were wrong */ 00618 #define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x101a 00619 #else /* current sources say */ 00620 #define TT_MS_LANGID_CROATIAN_BOSNIA_HERZEGOVINA 0x101a 00621 #define TT_MS_LANGID_BOSNIAN_BOSNIA_HERZEGOVINA 0x141a 00622 /* and XPsp2 Platform SDK added (2004-07-26) */ 00623 /* Names are shortened to be significant within 40 chars. */ 00624 #define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_LATIN 0x181a 00625 #define TT_MS_LANGID_SERBIAN_BOSNIA_HERZ_CYRILLIC 0x181a 00626 #endif 00627 00628 #define TT_MS_LANGID_SLOVAK_SLOVAKIA 0x041b 00629 #define TT_MS_LANGID_ALBANIAN_ALBANIA 0x041c 00630 #define TT_MS_LANGID_SWEDISH_SWEDEN 0x041d 00631 #define TT_MS_LANGID_SWEDISH_FINLAND 0x081d 00632 #define TT_MS_LANGID_THAI_THAILAND 0x041e 00633 #define TT_MS_LANGID_TURKISH_TURKEY 0x041f 00634 #define TT_MS_LANGID_URDU_PAKISTAN 0x0420 00635 #define TT_MS_LANGID_URDU_INDIA 0x0820 00636 #define TT_MS_LANGID_INDONESIAN_INDONESIA 0x0421 00637 #define TT_MS_LANGID_UKRAINIAN_UKRAINE 0x0422 00638 #define TT_MS_LANGID_BELARUSIAN_BELARUS 0x0423 00639 #define TT_MS_LANGID_SLOVENE_SLOVENIA 0x0424 00640 #define TT_MS_LANGID_ESTONIAN_ESTONIA 0x0425 00641 #define TT_MS_LANGID_LATVIAN_LATVIA 0x0426 00642 #define TT_MS_LANGID_LITHUANIAN_LITHUANIA 0x0427 00643 #define TT_MS_LANGID_CLASSIC_LITHUANIAN_LITHUANIA 0x0827 00644 #define TT_MS_LANGID_TAJIK_TAJIKISTAN 0x0428 00645 #define TT_MS_LANGID_FARSI_IRAN 0x0429 00646 #define TT_MS_LANGID_VIETNAMESE_VIET_NAM 0x042a 00647 #define TT_MS_LANGID_ARMENIAN_ARMENIA 0x042b 00648 #define TT_MS_LANGID_AZERI_AZERBAIJAN_LATIN 0x042c 00649 #define TT_MS_LANGID_AZERI_AZERBAIJAN_CYRILLIC 0x082c 00650 #define TT_MS_LANGID_BASQUE_SPAIN 0x042d 00651 #define TT_MS_LANGID_SORBIAN_GERMANY 0x042e 00652 #define TT_MS_LANGID_MACEDONIAN_MACEDONIA 0x042f 00653 #define TT_MS_LANGID_SUTU_SOUTH_AFRICA 0x0430 00654 #define TT_MS_LANGID_TSONGA_SOUTH_AFRICA 0x0431 00655 #define TT_MS_LANGID_TSWANA_SOUTH_AFRICA 0x0432 00656 #define TT_MS_LANGID_VENDA_SOUTH_AFRICA 0x0433 00657 #define TT_MS_LANGID_XHOSA_SOUTH_AFRICA 0x0434 00658 #define TT_MS_LANGID_ZULU_SOUTH_AFRICA 0x0435 00659 #define TT_MS_LANGID_AFRIKAANS_SOUTH_AFRICA 0x0436 00660 #define TT_MS_LANGID_GEORGIAN_GEORGIA 0x0437 00661 #define TT_MS_LANGID_FAEROESE_FAEROE_ISLANDS 0x0438 00662 #define TT_MS_LANGID_HINDI_INDIA 0x0439 00663 #define TT_MS_LANGID_MALTESE_MALTA 0x043a 00664 /* Added by XPsp2 Platform SDK (2004-07-26) */ 00665 #define TT_MS_LANGID_SAMI_NORTHERN_NORWAY 0x043b 00666 #define TT_MS_LANGID_SAMI_NORTHERN_SWEDEN 0x083b 00667 #define TT_MS_LANGID_SAMI_NORTHERN_FINLAND 0x0C3b 00668 #define TT_MS_LANGID_SAMI_LULE_NORWAY 0x103b 00669 #define TT_MS_LANGID_SAMI_LULE_SWEDEN 0x143b 00670 #define TT_MS_LANGID_SAMI_SOUTHERN_NORWAY 0x183b 00671 #define TT_MS_LANGID_SAMI_SOUTHERN_SWEDEN 0x1C3b 00672 #define TT_MS_LANGID_SAMI_SKOLT_FINLAND 0x203b 00673 #define TT_MS_LANGID_SAMI_INARI_FINLAND 0x243b 00674 /* ... and we also keep our old identifier... */ 00675 #define TT_MS_LANGID_SAAMI_LAPONIA 0x043b 00676 00677 #if 0 /* this seems to be a previous inversion */ 00678 #define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043c 00679 #define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083c 00680 #else 00681 #define TT_MS_LANGID_SCOTTISH_GAELIC_UNITED_KINGDOM 0x083c 00682 #define TT_MS_LANGID_IRISH_GAELIC_IRELAND 0x043c 00683 #endif 00684 00685 #define TT_MS_LANGID_YIDDISH_GERMANY 0x043d 00686 #define TT_MS_LANGID_MALAY_MALAYSIA 0x043e 00687 #define TT_MS_LANGID_MALAY_BRUNEI_DARUSSALAM 0x083e 00688 #define TT_MS_LANGID_KAZAK_KAZAKSTAN 0x043f 00689 #define TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN /* Cyrillic*/ 0x0440 00690 /* alias declared in Windows 2000 */ 00691 #define TT_MS_LANGID_KIRGHIZ_KIRGHIZ_REPUBLIC \ 00692 TT_MS_LANGID_KIRGHIZ_KIRGHIZSTAN 00693 00694 #define TT_MS_LANGID_SWAHILI_KENYA 0x0441 00695 #define TT_MS_LANGID_TURKMEN_TURKMENISTAN 0x0442 00696 #define TT_MS_LANGID_UZBEK_UZBEKISTAN_LATIN 0x0443 00697 #define TT_MS_LANGID_UZBEK_UZBEKISTAN_CYRILLIC 0x0843 00698 #define TT_MS_LANGID_TATAR_TATARSTAN 0x0444 00699 #define TT_MS_LANGID_BENGALI_INDIA 0x0445 00700 #define TT_MS_LANGID_BENGALI_BANGLADESH 0x0845 00701 #define TT_MS_LANGID_PUNJABI_INDIA 0x0446 00702 #define TT_MS_LANGID_PUNJABI_ARABIC_PAKISTAN 0x0846 00703 #define TT_MS_LANGID_GUJARATI_INDIA 0x0447 00704 #define TT_MS_LANGID_ORIYA_INDIA 0x0448 00705 #define TT_MS_LANGID_TAMIL_INDIA 0x0449 00706 #define TT_MS_LANGID_TELUGU_INDIA 0x044a 00707 #define TT_MS_LANGID_KANNADA_INDIA 0x044b 00708 #define TT_MS_LANGID_MALAYALAM_INDIA 0x044c 00709 #define TT_MS_LANGID_ASSAMESE_INDIA 0x044d 00710 #define TT_MS_LANGID_MARATHI_INDIA 0x044e 00711 #define TT_MS_LANGID_SANSKRIT_INDIA 0x044f 00712 #define TT_MS_LANGID_MONGOLIAN_MONGOLIA /* Cyrillic */ 0x0450 00713 #define TT_MS_LANGID_MONGOLIAN_MONGOLIA_MONGOLIAN 0x0850 00714 #define TT_MS_LANGID_TIBETAN_CHINA 0x0451 00715 /* Don't use the next constant! It has */ 00716 /* (1) the wrong spelling (Dzonghka) */ 00717 /* (2) Microsoft doesn't officially define it -- */ 00718 /* at least it is not in the List of Local */ 00719 /* ID Values. */ 00720 /* (3) Dzongkha is not the same language as */ 00721 /* Tibetan, so merging it is wrong anyway. */ 00722 /* */ 00723 /* TT_MS_LANGID_TIBETAN_BHUTAN is correct, BTW. */ 00724 #define TT_MS_LANGID_DZONGHKA_BHUTAN 0x0851 00725 00726 #if 0 00727 /* the following used to be defined */ 00728 #define TT_MS_LANGID_TIBETAN_BHUTAN 0x0451 00729 /* ... but it was changed; */ 00730 #else 00731 /* So we will continue to #define it, but with the correct value */ 00732 #define TT_MS_LANGID_TIBETAN_BHUTAN TT_MS_LANGID_DZONGHKA_BHUTAN 00733 #endif 00734 00735 #define TT_MS_LANGID_WELSH_WALES 0x0452 00736 #define TT_MS_LANGID_KHMER_CAMBODIA 0x0453 00737 #define TT_MS_LANGID_LAO_LAOS 0x0454 00738 #define TT_MS_LANGID_BURMESE_MYANMAR 0x0455 00739 #define TT_MS_LANGID_GALICIAN_SPAIN 0x0456 00740 #define TT_MS_LANGID_KONKANI_INDIA 0x0457 00741 #define TT_MS_LANGID_MANIPURI_INDIA /* Bengali */ 0x0458 00742 #define TT_MS_LANGID_SINDHI_INDIA /* Arabic */ 0x0459 00743 #define TT_MS_LANGID_SINDHI_PAKISTAN 0x0859 00744 /* Missing a LCID for Sindhi in Devanagari script */ 00745 #define TT_MS_LANGID_SYRIAC_SYRIA 0x045a 00746 #define TT_MS_LANGID_SINHALESE_SRI_LANKA 0x045b 00747 #define TT_MS_LANGID_CHEROKEE_UNITED_STATES 0x045c 00748 #define TT_MS_LANGID_INUKTITUT_CANADA 0x045d 00749 #define TT_MS_LANGID_AMHARIC_ETHIOPIA 0x045e 00750 #define TT_MS_LANGID_TAMAZIGHT_MOROCCO /* Arabic */ 0x045f 00751 #define TT_MS_LANGID_TAMAZIGHT_MOROCCO_LATIN 0x085f 00752 /* Missing a LCID for Tifinagh script */ 00753 #define TT_MS_LANGID_KASHMIRI_PAKISTAN /* Arabic */ 0x0460 00754 /* Spelled this way by XPsp2 Platform SDK (2004-07-26) */ 00755 /* script is yet unclear... might be Arabic, Nagari or Sharada */ 00756 #define TT_MS_LANGID_KASHMIRI_SASIA 0x0860 00757 /* ... and aliased (by MS) for compatibility reasons. */ 00758 #define TT_MS_LANGID_KASHMIRI_INDIA TT_MS_LANGID_KASHMIRI_SASIA 00759 #define TT_MS_LANGID_NEPALI_NEPAL 0x0461 00760 #define TT_MS_LANGID_NEPALI_INDIA 0x0861 00761 #define TT_MS_LANGID_FRISIAN_NETHERLANDS 0x0462 00762 #define TT_MS_LANGID_PASHTO_AFGHANISTAN 0x0463 00763 #define TT_MS_LANGID_FILIPINO_PHILIPPINES 0x0464 00764 #define TT_MS_LANGID_DHIVEHI_MALDIVES 0x0465 00765 /* alias declared in Windows 2000 */ 00766 #define TT_MS_LANGID_DIVEHI_MALDIVES TT_MS_LANGID_DHIVEHI_MALDIVES 00767 #define TT_MS_LANGID_EDO_NIGERIA 0x0466 00768 #define TT_MS_LANGID_FULFULDE_NIGERIA 0x0467 00769 #define TT_MS_LANGID_HAUSA_NIGERIA 0x0468 00770 #define TT_MS_LANGID_IBIBIO_NIGERIA 0x0469 00771 #define TT_MS_LANGID_YORUBA_NIGERIA 0x046a 00772 #define TT_MS_LANGID_QUECHUA_BOLIVIA 0x046b 00773 #define TT_MS_LANGID_QUECHUA_ECUADOR 0x086b 00774 #define TT_MS_LANGID_QUECHUA_PERU 0x0c6b 00775 #define TT_MS_LANGID_SEPEDI_SOUTH_AFRICA 0x046c 00776 /* Also spelled by XPsp2 Platform SDK (2004-07-26) */ 00777 #define TT_MS_LANGID_SOTHO_SOUTHERN_SOUTH_AFRICA \ 00778 TT_MS_LANGID_SEPEDI_SOUTH_AFRICA 00779 /* language codes 0x046d, 0x046e and 0x046f are (still) unknown. */ 00780 #define TT_MS_LANGID_IGBO_NIGERIA 0x0470 00781 #define TT_MS_LANGID_KANURI_NIGERIA 0x0471 00782 #define TT_MS_LANGID_OROMO_ETHIOPIA 0x0472 00783 #define TT_MS_LANGID_TIGRIGNA_ETHIOPIA 0x0473 00784 #define TT_MS_LANGID_TIGRIGNA_ERYTHREA 0x0873 00785 /* also spelled in the `Passport SDK' list as: */ 00786 #define TT_MS_LANGID_TIGRIGNA_ERYTREA TT_MS_LANGID_TIGRIGNA_ERYTHREA 00787 #define TT_MS_LANGID_GUARANI_PARAGUAY 0x0474 00788 #define TT_MS_LANGID_HAWAIIAN_UNITED_STATES 0x0475 00789 #define TT_MS_LANGID_LATIN 0x0476 00790 #define TT_MS_LANGID_SOMALI_SOMALIA 0x0477 00791 /* Note: Yi does not have a (proper) ISO 639-2 code, since it is mostly */ 00792 /* not written (but OTOH the peculiar writing system is worth */ 00793 /* studying). */ 00794 #define TT_MS_LANGID_YI_CHINA 0x0478 00795 #define TT_MS_LANGID_PAPIAMENTU_NETHERLANDS_ANTILLES 0x0479 00796 /* language codes from 0x047a to 0x047f are (still) unknown. */ 00797 #define TT_MS_LANGID_UIGHUR_CHINA 0x0480 00798 #define TT_MS_LANGID_MAORI_NEW_ZEALAND 0x0481 00799 00800 #if 0 /* not deemed useful for fonts */ 00801 #define TT_MS_LANGID_HUMAN_INTERFACE_DEVICE 0x04ff 00802 #endif 00803 00804 00805 /*************************************************************************/ 00806 /* */ 00807 /* Possible values of the `name' identifier field in the name records of */ 00808 /* the TTF `name' table. These values are platform independent. */ 00809 /* */ 00810 #define TT_NAME_ID_COPYRIGHT 0 00811 #define TT_NAME_ID_FONT_FAMILY 1 00812 #define TT_NAME_ID_FONT_SUBFAMILY 2 00813 #define TT_NAME_ID_UNIQUE_ID 3 00814 #define TT_NAME_ID_FULL_NAME 4 00815 #define TT_NAME_ID_VERSION_STRING 5 00816 #define TT_NAME_ID_PS_NAME 6 00817 #define TT_NAME_ID_TRADEMARK 7 00818 00819 /* the following values are from the OpenType spec */ 00820 #define TT_NAME_ID_MANUFACTURER 8 00821 #define TT_NAME_ID_DESIGNER 9 00822 #define TT_NAME_ID_DESCRIPTION 10 00823 #define TT_NAME_ID_VENDOR_URL 11 00824 #define TT_NAME_ID_DESIGNER_URL 12 00825 #define TT_NAME_ID_LICENSE 13 00826 #define TT_NAME_ID_LICENSE_URL 14 00827 /* number 15 is reserved */ 00828 #define TT_NAME_ID_PREFERRED_FAMILY 16 00829 #define TT_NAME_ID_PREFERRED_SUBFAMILY 17 00830 #define TT_NAME_ID_MAC_FULL_NAME 18 00831 00832 /* The following code is new as of 2000-01-21 */ 00833 #define TT_NAME_ID_SAMPLE_TEXT 19 00834 00835 /* This is new in OpenType 1.3 */ 00836 #define TT_NAME_ID_CID_FINDFONT_NAME 20 00837 00838 /* This is new in OpenType 1.5 */ 00839 #define TT_NAME_ID_WWS_FAMILY 21 00840 #define TT_NAME_ID_WWS_SUBFAMILY 22 00841 00842 00843 /*************************************************************************/ 00844 /* */ 00845 /* Bit mask values for the Unicode Ranges from the TTF `OS2 ' table. */ 00846 /* */ 00847 /* Updated 08-Nov-2008. */ 00848 /* */ 00849 00850 /* Bit 0 Basic Latin */ 00851 #define TT_UCR_BASIC_LATIN (1L << 0) /* U+0020-U+007E */ 00852 /* Bit 1 C1 Controls and Latin-1 Supplement */ 00853 #define TT_UCR_LATIN1_SUPPLEMENT (1L << 1) /* U+0080-U+00FF */ 00854 /* Bit 2 Latin Extended-A */ 00855 #define TT_UCR_LATIN_EXTENDED_A (1L << 2) /* U+0100-U+017F */ 00856 /* Bit 3 Latin Extended-B */ 00857 #define TT_UCR_LATIN_EXTENDED_B (1L << 3) /* U+0180-U+024F */ 00858 /* Bit 4 IPA Extensions */ 00859 /* Phonetic Extensions */ 00860 /* Phonetic Extensions Supplement */ 00861 #define TT_UCR_IPA_EXTENSIONS (1L << 4) /* U+0250-U+02AF */ 00862 /* U+1D00-U+1D7F */ 00863 /* U+1D80-U+1DBF */ 00864 /* Bit 5 Spacing Modifier Letters */ 00865 /* Modifier Tone Letters */ 00866 #define TT_UCR_SPACING_MODIFIER (1L << 5) /* U+02B0-U+02FF */ 00867 /* U+A700-U+A71F */ 00868 /* Bit 6 Combining Diacritical Marks */ 00869 /* Combining Diacritical Marks Supplement */ 00870 #define TT_UCR_COMBINING_DIACRITICS (1L << 6) /* U+0300-U+036F */ 00871 /* U+1DC0-U+1DFF */ 00872 /* Bit 7 Greek and Coptic */ 00873 #define TT_UCR_GREEK (1L << 7) /* U+0370-U+03FF */ 00874 /* Bit 8 Coptic */ 00875 #define TT_UCR_COPTIC (1L << 8) /* U+2C80-U+2CFF */ 00876 /* Bit 9 Cyrillic */ 00877 /* Cyrillic Supplement */ 00878 /* Cyrillic Extended-A */ 00879 /* Cyrillic Extended-B */ 00880 #define TT_UCR_CYRILLIC (1L << 9) /* U+0400-U+04FF */ 00881 /* U+0500-U+052F */ 00882 /* U+2DE0-U+2DFF */ 00883 /* U+A640-U+A69F */ 00884 /* Bit 10 Armenian */ 00885 #define TT_UCR_ARMENIAN (1L << 10) /* U+0530-U+058F */ 00886 /* Bit 11 Hebrew */ 00887 #define TT_UCR_HEBREW (1L << 11) /* U+0590-U+05FF */ 00888 /* Bit 12 Vai */ 00889 #define TT_UCR_VAI (1L << 12) /* U+A500-U+A63F */ 00890 /* Bit 13 Arabic */ 00891 /* Arabic Supplement */ 00892 #define TT_UCR_ARABIC (1L << 13) /* U+0600-U+06FF */ 00893 /* U+0750-U+077F */ 00894 /* Bit 14 NKo */ 00895 #define TT_UCR_NKO (1L << 14) /* U+07C0-U+07FF */ 00896 /* Bit 15 Devanagari */ 00897 #define TT_UCR_DEVANAGARI (1L << 15) /* U+0900-U+097F */ 00898 /* Bit 16 Bengali */ 00899 #define TT_UCR_BENGALI (1L << 16) /* U+0980-U+09FF */ 00900 /* Bit 17 Gurmukhi */ 00901 #define TT_UCR_GURMUKHI (1L << 17) /* U+0A00-U+0A7F */ 00902 /* Bit 18 Gujarati */ 00903 #define TT_UCR_GUJARATI (1L << 18) /* U+0A80-U+0AFF */ 00904 /* Bit 19 Oriya */ 00905 #define TT_UCR_ORIYA (1L << 19) /* U+0B00-U+0B7F */ 00906 /* Bit 20 Tamil */ 00907 #define TT_UCR_TAMIL (1L << 20) /* U+0B80-U+0BFF */ 00908 /* Bit 21 Telugu */ 00909 #define TT_UCR_TELUGU (1L << 21) /* U+0C00-U+0C7F */ 00910 /* Bit 22 Kannada */ 00911 #define TT_UCR_KANNADA (1L << 22) /* U+0C80-U+0CFF */ 00912 /* Bit 23 Malayalam */ 00913 #define TT_UCR_MALAYALAM (1L << 23) /* U+0D00-U+0D7F */ 00914 /* Bit 24 Thai */ 00915 #define TT_UCR_THAI (1L << 24) /* U+0E00-U+0E7F */ 00916 /* Bit 25 Lao */ 00917 #define TT_UCR_LAO (1L << 25) /* U+0E80-U+0EFF */ 00918 /* Bit 26 Georgian */ 00919 /* Georgian Supplement */ 00920 #define TT_UCR_GEORGIAN (1L << 26) /* U+10A0-U+10FF */ 00921 /* U+2D00-U+2D2F */ 00922 /* Bit 27 Balinese */ 00923 #define TT_UCR_BALINESE (1L << 27) /* U+1B00-U+1B7F */ 00924 /* Bit 28 Hangul Jamo */ 00925 #define TT_UCR_HANGUL_JAMO (1L << 28) /* U+1100-U+11FF */ 00926 /* Bit 29 Latin Extended Additional */ 00927 /* Latin Extended-C */ 00928 /* Latin Extended-D */ 00929 #define TT_UCR_LATIN_EXTENDED_ADDITIONAL (1L << 29) /* U+1E00-U+1EFF */ 00930 /* U+2C60-U+2C7F */ 00931 /* U+A720-U+A7FF */ 00932 /* Bit 30 Greek Extended */ 00933 #define TT_UCR_GREEK_EXTENDED (1L << 30) /* U+1F00-U+1FFF */ 00934 /* Bit 31 General Punctuation */ 00935 /* Supplemental Punctuation */ 00936 #define TT_UCR_GENERAL_PUNCTUATION (1L << 31) /* U+2000-U+206F */ 00937 /* U+2E00-U+2E7F */ 00938 /* Bit 32 Superscripts And Subscripts */ 00939 #define TT_UCR_SUPERSCRIPTS_SUBSCRIPTS (1L << 0) /* U+2070-U+209F */ 00940 /* Bit 33 Currency Symbols */ 00941 #define TT_UCR_CURRENCY_SYMBOLS (1L << 1) /* U+20A0-U+20CF */ 00942 /* Bit 34 Combining Diacritical Marks For Symbols */ 00943 #define TT_UCR_COMBINING_DIACRITICS_SYMB (1L << 2) /* U+20D0-U+20FF */ 00944 /* Bit 35 Letterlike Symbols */ 00945 #define TT_UCR_LETTERLIKE_SYMBOLS (1L << 3) /* U+2100-U+214F */ 00946 /* Bit 36 Number Forms */ 00947 #define TT_UCR_NUMBER_FORMS (1L << 4) /* U+2150-U+218F */ 00948 /* Bit 37 Arrows */ 00949 /* Supplemental Arrows-A */ 00950 /* Supplemental Arrows-B */ 00951 /* Miscellaneous Symbols and Arrows */ 00952 #define TT_UCR_ARROWS (1L << 5) /* U+2190-U+21FF */ 00953 /* U+27F0-U+27FF */ 00954 /* U+2900-U+297F */ 00955 /* U+2B00-U+2BFF */ 00956 /* Bit 38 Mathematical Operators */ 00957 /* Supplemental Mathematical Operators */ 00958 /* Miscellaneous Mathematical Symbols-A */ 00959 /* Miscellaneous Mathematical Symbols-B */ 00960 #define TT_UCR_MATHEMATICAL_OPERATORS (1L << 6) /* U+2200-U+22FF */ 00961 /* U+2A00-U+2AFF */ 00962 /* U+27C0-U+27EF */ 00963 /* U+2980-U+29FF */ 00964 /* Bit 39 Miscellaneous Technical */ 00965 #define TT_UCR_MISCELLANEOUS_TECHNICAL (1L << 7) /* U+2300-U+23FF */ 00966 /* Bit 40 Control Pictures */ 00967 #define TT_UCR_CONTROL_PICTURES (1L << 8) /* U+2400-U+243F */ 00968 /* Bit 41 Optical Character Recognition */ 00969 #define TT_UCR_OCR (1L << 9) /* U+2440-U+245F */ 00970 /* Bit 42 Enclosed Alphanumerics */ 00971 #define TT_UCR_ENCLOSED_ALPHANUMERICS (1L << 10) /* U+2460-U+24FF */ 00972 /* Bit 43 Box Drawing */ 00973 #define TT_UCR_BOX_DRAWING (1L << 11) /* U+2500-U+257F */ 00974 /* Bit 44 Block Elements */ 00975 #define TT_UCR_BLOCK_ELEMENTS (1L << 12) /* U+2580-U+259F */ 00976 /* Bit 45 Geometric Shapes */ 00977 #define TT_UCR_GEOMETRIC_SHAPES (1L << 13) /* U+25A0-U+25FF */ 00978 /* Bit 46 Miscellaneous Symbols */ 00979 #define TT_UCR_MISCELLANEOUS_SYMBOLS (1L << 14) /* U+2600-U+26FF */ 00980 /* Bit 47 Dingbats */ 00981 #define TT_UCR_DINGBATS (1L << 15) /* U+2700-U+27BF */ 00982 /* Bit 48 CJK Symbols and Punctuation */ 00983 #define TT_UCR_CJK_SYMBOLS (1L << 16) /* U+3000-U+303F */ 00984 /* Bit 49 Hiragana */ 00985 #define TT_UCR_HIRAGANA (1L << 17) /* U+3040-U+309F */ 00986 /* Bit 50 Katakana */ 00987 /* Katakana Phonetic Extensions */ 00988 #define TT_UCR_KATAKANA (1L << 18) /* U+30A0-U+30FF */ 00989 /* U+31F0-U+31FF */ 00990 /* Bit 51 Bopomofo */ 00991 /* Bopomofo Extended */ 00992 #define TT_UCR_BOPOMOFO (1L << 19) /* U+3100-U+312F */ 00993 /* U+31A0-U+31BF */ 00994 /* Bit 52 Hangul Compatibility Jamo */ 00995 #define TT_UCR_HANGUL_COMPATIBILITY_JAMO (1L << 20) /* U+3130-U+318F */ 00996 /* Bit 53 Phags-Pa */ 00997 #define TT_UCR_CJK_MISC (1L << 21) /* U+A840-U+A87F */ 00998 #define TT_UCR_KANBUN TT_UCR_CJK_MISC /* deprecated */ 00999 #define TT_UCR_PHAGSPA 01000 /* Bit 54 Enclosed CJK Letters and Months */ 01001 #define TT_UCR_ENCLOSED_CJK_LETTERS_MONTHS (1L << 22) /* U+3200-U+32FF */ 01002 /* Bit 55 CJK Compatibility */ 01003 #define TT_UCR_CJK_COMPATIBILITY (1L << 23) /* U+3300-U+33FF */ 01004 /* Bit 56 Hangul Syllables */ 01005 #define TT_UCR_HANGUL (1L << 24) /* U+AC00-U+D7A3 */ 01006 /* Bit 57 High Surrogates */ 01007 /* High Private Use Surrogates */ 01008 /* Low Surrogates */ 01009 /* */ 01010 /* According to OpenType specs v.1.3+, */ 01011 /* setting bit 57 implies that there is */ 01012 /* at least one codepoint beyond the */ 01013 /* Basic Multilingual Plane that is */ 01014 /* supported by this font. So it really */ 01015 /* means >= U+10000 */ 01016 #define TT_UCR_SURROGATES (1L << 25) /* U+D800-U+DB7F */ 01017 /* U+DB80-U+DBFF */ 01018 /* U+DC00-U+DFFF */ 01019 #define TT_UCR_NON_PLANE_0 TT_UCR_SURROGATES 01020 /* Bit 58 Phoenician */ 01021 #define TT_UCR_PHOENICIAN (1L << 26) /*U+10900-U+1091F*/ 01022 /* Bit 59 CJK Unified Ideographs */ 01023 /* CJK Radicals Supplement */ 01024 /* Kangxi Radicals */ 01025 /* Ideographic Description Characters */ 01026 /* CJK Unified Ideographs Extension A */ 01027 /* CJK Unified Ideographs Extension B */ 01028 /* Kanbun */ 01029 #define TT_UCR_CJK_UNIFIED_IDEOGRAPHS (1L << 27) /* U+4E00-U+9FFF */ 01030 /* U+2E80-U+2EFF */ 01031 /* U+2F00-U+2FDF */ 01032 /* U+2FF0-U+2FFF */ 01033 /* U+3400-U+4DB5 */ 01034 /*U+20000-U+2A6DF*/ 01035 /* U+3190-U+319F */ 01036 /* Bit 60 Private Use */ 01037 #define TT_UCR_PRIVATE_USE (1L << 28) /* U+E000-U+F8FF */ 01038 /* Bit 61 CJK Strokes */ 01039 /* CJK Compatibility Ideographs */ 01040 /* CJK Compatibility Ideographs Supplement */ 01041 #define TT_UCR_CJK_COMPATIBILITY_IDEOGRAPHS (1L << 29) /* U+31C0-U+31EF */ 01042 /* U+F900-U+FAFF */ 01043 /*U+2F800-U+2FA1F*/ 01044 /* Bit 62 Alphabetic Presentation Forms */ 01045 #define TT_UCR_ALPHABETIC_PRESENTATION_FORMS (1L << 30) /* U+FB00-U+FB4F */ 01046 /* Bit 63 Arabic Presentation Forms-A */ 01047 #define TT_UCR_ARABIC_PRESENTATIONS_A (1L << 31) /* U+FB50-U+FDFF */ 01048 /* Bit 64 Combining Half Marks */ 01049 #define TT_UCR_COMBINING_HALF_MARKS (1L << 0) /* U+FE20-U+FE2F */ 01050 /* Bit 65 Vertical forms */ 01051 /* CJK Compatibility Forms */ 01052 #define TT_UCR_CJK_COMPATIBILITY_FORMS (1L << 1) /* U+FE10-U+FE1F */ 01053 /* U+FE30-U+FE4F */ 01054 /* Bit 66 Small Form Variants */ 01055 #define TT_UCR_SMALL_FORM_VARIANTS (1L << 2) /* U+FE50-U+FE6F */ 01056 /* Bit 67 Arabic Presentation Forms-B */ 01057 #define TT_UCR_ARABIC_PRESENTATIONS_B (1L << 3) /* U+FE70-U+FEFE */ 01058 /* Bit 68 Halfwidth and Fullwidth Forms */ 01059 #define TT_UCR_HALFWIDTH_FULLWIDTH_FORMS (1L << 4) /* U+FF00-U+FFEF */ 01060 /* Bit 69 Specials */ 01061 #define TT_UCR_SPECIALS (1L << 5) /* U+FFF0-U+FFFD */ 01062 /* Bit 70 Tibetan */ 01063 #define TT_UCR_TIBETAN (1L << 6) /* U+0F00-U+0FFF */ 01064 /* Bit 71 Syriac */ 01065 #define TT_UCR_SYRIAC (1L << 7) /* U+0700-U+074F */ 01066 /* Bit 72 Thaana */ 01067 #define TT_UCR_THAANA (1L << 8) /* U+0780-U+07BF */ 01068 /* Bit 73 Sinhala */ 01069 #define TT_UCR_SINHALA (1L << 9) /* U+0D80-U+0DFF */ 01070 /* Bit 74 Myanmar */ 01071 #define TT_UCR_MYANMAR (1L << 10) /* U+1000-U+109F */ 01072 /* Bit 75 Ethiopic */ 01073 /* Ethiopic Supplement */ 01074 /* Ethiopic Extended */ 01075 #define TT_UCR_ETHIOPIC (1L << 11) /* U+1200-U+137F */ 01076 /* U+1380-U+139F */ 01077 /* U+2D80-U+2DDF */ 01078 /* Bit 76 Cherokee */ 01079 #define TT_UCR_CHEROKEE (1L << 12) /* U+13A0-U+13FF */ 01080 /* Bit 77 Unified Canadian Aboriginal Syllabics */ 01081 #define TT_UCR_CANADIAN_ABORIGINAL_SYLLABICS (1L << 13) /* U+1400-U+167F */ 01082 /* Bit 78 Ogham */ 01083 #define TT_UCR_OGHAM (1L << 14) /* U+1680-U+169F */ 01084 /* Bit 79 Runic */ 01085 #define TT_UCR_RUNIC (1L << 15) /* U+16A0-U+16FF */ 01086 /* Bit 80 Khmer */ 01087 /* Khmer Symbols */ 01088 #define TT_UCR_KHMER (1L << 16) /* U+1780-U+17FF */ 01089 /* U+19E0-U+19FF */ 01090 /* Bit 81 Mongolian */ 01091 #define TT_UCR_MONGOLIAN (1L << 17) /* U+1800-U+18AF */ 01092 /* Bit 82 Braille Patterns */ 01093 #define TT_UCR_BRAILLE (1L << 18) /* U+2800-U+28FF */ 01094 /* Bit 83 Yi Syllables */ 01095 /* Yi Radicals */ 01096 #define TT_UCR_YI (1L << 19) /* U+A000-U+A48F */ 01097 /* U+A490-U+A4CF */ 01098 /* Bit 84 Tagalog */ 01099 /* Hanunoo */ 01100 /* Buhid */ 01101 /* Tagbanwa */ 01102 #define TT_UCR_PHILIPPINE (1L << 20) /* U+1700-U+171F */ 01103 /* U+1720-U+173F */ 01104 /* U+1740-U+175F */ 01105 /* U+1760-U+177F */ 01106 /* Bit 85 Old Italic */ 01107 #define TT_UCR_OLD_ITALIC (1L << 21) /*U+10300-U+1032F*/ 01108 /* Bit 86 Gothic */ 01109 #define TT_UCR_GOTHIC (1L << 22) /*U+10330-U+1034F*/ 01110 /* Bit 87 Deseret */ 01111 #define TT_UCR_DESERET (1L << 23) /*U+10400-U+1044F*/ 01112 /* Bit 88 Byzantine Musical Symbols */ 01113 /* Musical Symbols */ 01114 /* Ancient Greek Musical Notation */ 01115 #define TT_UCR_MUSICAL_SYMBOLS (1L << 24) /*U+1D000-U+1D0FF*/ 01116 /*U+1D100-U+1D1FF*/ 01117 /*U+1D200-U+1D24F*/ 01118 /* Bit 89 Mathematical Alphanumeric Symbols */ 01119 #define TT_UCR_MATH_ALPHANUMERIC_SYMBOLS (1L << 25) /*U+1D400-U+1D7FF*/ 01120 /* Bit 90 Private Use (plane 15) */ 01121 /* Private Use (plane 16) */ 01122 #define TT_UCR_PRIVATE_USE_SUPPLEMENTARY (1L << 26) /*U+F0000-U+FFFFD*/ 01123 /*U+100000-U+10FFFD*/ 01124 /* Bit 91 Variation Selectors */ 01125 /* Variation Selectors Supplement */ 01126 #define TT_UCR_VARIATION_SELECTORS (1L << 27) /* U+FE00-U+FE0F */ 01127 /*U+E0100-U+E01EF*/ 01128 /* Bit 92 Tags */ 01129 #define TT_UCR_TAGS (1L << 28) /*U+E0000-U+E007F*/ 01130 /* Bit 93 Limbu */ 01131 #define TT_UCR_LIMBU (1L << 29) /* U+1900-U+194F */ 01132 /* Bit 94 Tai Le */ 01133 #define TT_UCR_TAI_LE (1L << 30) /* U+1950-U+197F */ 01134 /* Bit 95 New Tai Lue */ 01135 #define TT_UCR_NEW_TAI_LUE (1L << 31) /* U+1980-U+19DF */ 01136 /* Bit 96 Buginese */ 01137 #define TT_UCR_BUGINESE (1L << 0) /* U+1A00-U+1A1F */ 01138 /* Bit 97 Glagolitic */ 01139 #define TT_UCR_GLAGOLITIC (1L << 1) /* U+2C00-U+2C5F */ 01140 /* Bit 98 Tifinagh */ 01141 #define TT_UCR_TIFINAGH (1L << 2) /* U+2D30-U+2D7F */ 01142 /* Bit 99 Yijing Hexagram Symbols */ 01143 #define TT_UCR_YIJING (1L << 3) /* U+4DC0-U+4DFF */ 01144 /* Bit 100 Syloti Nagri */ 01145 #define TT_UCR_SYLOTI_NAGRI (1L << 4) /* U+A800-U+A82F */ 01146 /* Bit 101 Linear B Syllabary */ 01147 /* Linear B Ideograms */ 01148 /* Aegean Numbers */ 01149 #define TT_UCR_LINEAR_B (1L << 5) /*U+10000-U+1007F*/ 01150 /*U+10080-U+100FF*/ 01151 /*U+10100-U+1013F*/ 01152 /* Bit 102 Ancient Greek Numbers */ 01153 #define TT_UCR_ANCIENT_GREEK_NUMBERS (1L << 6) /*U+10140-U+1018F*/ 01154 /* Bit 103 Ugaritic */ 01155 #define TT_UCR_UGARITIC (1L << 7) /*U+10380-U+1039F*/ 01156 /* Bit 104 Old Persian */ 01157 #define TT_UCR_OLD_PERSIAN (1L << 8) /*U+103A0-U+103DF*/ 01158 /* Bit 105 Shavian */ 01159 #define TT_UCR_SHAVIAN (1L << 9) /*U+10450-U+1047F*/ 01160 /* Bit 106 Osmanya */ 01161 #define TT_UCR_OSMANYA (1L << 10) /*U+10480-U+104AF*/ 01162 /* Bit 107 Cypriot Syllabary */ 01163 #define TT_UCR_CYPRIOT_SYLLABARY (1L << 11) /*U+10800-U+1083F*/ 01164 /* Bit 108 Kharoshthi */ 01165 #define TT_UCR_KHAROSHTHI (1L << 12) /*U+10A00-U+10A5F*/ 01166 /* Bit 109 Tai Xuan Jing Symbols */ 01167 #define TT_UCR_TAI_XUAN_JING (1L << 13) /*U+1D300-U+1D35F*/ 01168 /* Bit 110 Cuneiform */ 01169 /* Cuneiform Numbers and Punctuation */ 01170 #define TT_UCR_CUNEIFORM (1L << 14) /*U+12000-U+123FF*/ 01171 /*U+12400-U+1247F*/ 01172 /* Bit 111 Counting Rod Numerals */ 01173 #define TT_UCR_COUNTING_ROD_NUMERALS (1L << 15) /*U+1D360-U+1D37F*/ 01174 /* Bit 112 Sundanese */ 01175 #define TT_UCR_SUNDANESE (1L << 16) /* U+1B80-U+1BBF */ 01176 /* Bit 113 Lepcha */ 01177 #define TT_UCR_LEPCHA (1L << 17) /* U+1C00-U+1C4F */ 01178 /* Bit 114 Ol Chiki */ 01179 #define TT_UCR_OL_CHIKI (1L << 18) /* U+1C50-U+1C7F */ 01180 /* Bit 115 Saurashtra */ 01181 #define TT_UCR_SAURASHTRA (1L << 19) /* U+A880-U+A8DF */ 01182 /* Bit 116 Kayah Li */ 01183 #define TT_UCR_KAYAH_LI (1L << 20) /* U+A900-U+A92F */ 01184 /* Bit 117 Rejang */ 01185 #define TT_UCR_REJANG (1L << 21) /* U+A930-U+A95F */ 01186 /* Bit 118 Cham */ 01187 #define TT_UCR_CHAM (1L << 22) /* U+AA00-U+AA5F */ 01188 /* Bit 119 Ancient Symbols */ 01189 #define TT_UCR_ANCIENT_SYMBOLS (1L << 23) /*U+10190-U+101CF*/ 01190 /* Bit 120 Phaistos Disc */ 01191 #define TT_UCR_PHAISTOS_DISC (1L << 24) /*U+101D0-U+101FF*/ 01192 /* Bit 121 Carian */ 01193 /* Lycian */ 01194 /* Lydian */ 01195 #define TT_UCR_OLD_ANATOLIAN (1L << 25) /*U+102A0-U+102DF*/ 01196 /*U+10280-U+1029F*/ 01197 /*U+10920-U+1093F*/ 01198 /* Bit 122 Domino Tiles */ 01199 /* Mahjong Tiles */ 01200 #define TT_UCR_GAME_TILES (1L << 26) /*U+1F030-U+1F09F*/ 01201 /*U+1F000-U+1F02F*/ 01202 /* Bit 123-127 Reserved for process-internal usage */ 01203 01204 01205 /*************************************************************************/ 01206 /* */ 01207 /* Some compilers have a very limited length of identifiers. */ 01208 /* */ 01209 #if defined( __TURBOC__ ) && __TURBOC__ < 0x0410 || defined( __PACIFIC__ ) 01210 #define HAVE_LIMIT_ON_IDENTS 01211 #endif 01212 01213 01214 #ifndef HAVE_LIMIT_ON_IDENTS 01215 01216 01217 /*************************************************************************/ 01218 /* */ 01219 /* Here some alias #defines in order to be clearer. */ 01220 /* */ 01221 /* These are not always #defined to stay within the 31~character limit */ 01222 /* which some compilers have. */ 01223 /* */ 01224 /* Credits go to Dave Hoo <dhoo@flash.net> for pointing out that modern */ 01225 /* Borland compilers (read: from BC++ 3.1 on) can increase this limit. */ 01226 /* If you get a warning with such a compiler, use the -i40 switch. */ 01227 /* */ 01228 #define TT_UCR_ARABIC_PRESENTATION_FORMS_A \ 01229 TT_UCR_ARABIC_PRESENTATIONS_A 01230 #define TT_UCR_ARABIC_PRESENTATION_FORMS_B \ 01231 TT_UCR_ARABIC_PRESENTATIONS_B 01232 01233 #define TT_UCR_COMBINING_DIACRITICAL_MARKS \ 01234 TT_UCR_COMBINING_DIACRITICS 01235 #define TT_UCR_COMBINING_DIACRITICAL_MARKS_SYMB \ 01236 TT_UCR_COMBINING_DIACRITICS_SYMB 01237 01238 01239 #endif /* !HAVE_LIMIT_ON_IDENTS */ 01240 01241 01242 FT_END_HEADER 01243 01244 #endif /* __TTNAMEID_H__ */ 01245 01246 01247 /* END */ Generated on Fri May 25 2012 04:32:07 for ReactOS by
1.7.6.1
|