1 /* This file has been generated by the Perl script `afblue.pl', */ 2 /* using data from file `afblue.dat'. */ 3 4 /**************************************************************************** 5 * 6 * afblue.h 7 * 8 * Auto-fitter data for blue strings (specification). 9 * 10 * Copyright (C) 2013-2022 by 11 * David Turner, Robert Wilhelm, and Werner Lemberg. 12 * 13 * This file is part of the FreeType project, and may only be used, 14 * modified, and distributed under the terms of the FreeType project 15 * license, LICENSE.TXT. By continuing to use, modify, or distribute 16 * this file you indicate that you have read the license and 17 * understand and accept it fully. 18 * 19 */ 20 21 22 #ifndef AFBLUE_H_ 23 #define AFBLUE_H_ 24 25 26 FT_BEGIN_HEADER 27 28 29 /* an auxiliary macro to decode a UTF-8 character -- since we only use */ 30 /* hard-coded, self-converted data, no error checking is performed */ 31 #define GET_UTF8_CHAR( ch, p ) \ 32 do \ 33 { \ 34 ch = (unsigned char)*p++; \ 35 if ( ch >= 0x80 ) \ 36 { \ 37 FT_UInt len_; \ 38 \ 39 \ 40 if ( ch < 0xE0 ) \ 41 { \ 42 len_ = 1; \ 43 ch &= 0x1F; \ 44 } \ 45 else if ( ch < 0xF0 ) \ 46 { \ 47 len_ = 2; \ 48 ch &= 0x0F; \ 49 } \ 50 else \ 51 { \ 52 len_ = 3; \ 53 ch &= 0x07; \ 54 } \ 55 \ 56 for ( ; len_ > 0; len_-- ) \ 57 ch = ( ch << 6 ) | ( *p++ & 0x3F ); \ 58 } \ 59 } while ( 0 ) 60 61 62 /*************************************************************************/ 63 /*************************************************************************/ 64 /***** *****/ 65 /***** B L U E S T R I N G S *****/ 66 /***** *****/ 67 /*************************************************************************/ 68 /*************************************************************************/ 69 70 /* At the bottommost level, we define strings for finding blue zones. */ 71 72 73 #define AF_BLUE_STRING_MAX_LEN 51 74 75 /* The AF_Blue_String enumeration values are offsets into the */ 76 /* `af_blue_strings' array. */ 77 78 typedef enum AF_Blue_String_ 79 { 80 AF_BLUE_STRING_ADLAM_CAPITAL_TOP = 0, 81 AF_BLUE_STRING_ADLAM_CAPITAL_BOTTOM = 30, 82 AF_BLUE_STRING_ADLAM_SMALL_TOP = 40, 83 AF_BLUE_STRING_ADLAM_SMALL_BOTTOM = 65, 84 AF_BLUE_STRING_ARABIC_TOP = 105, 85 AF_BLUE_STRING_ARABIC_BOTTOM = 123, 86 AF_BLUE_STRING_ARABIC_JOIN = 138, 87 AF_BLUE_STRING_ARMENIAN_CAPITAL_TOP = 141, 88 AF_BLUE_STRING_ARMENIAN_CAPITAL_BOTTOM = 165, 89 AF_BLUE_STRING_ARMENIAN_SMALL_ASCENDER = 189, 90 AF_BLUE_STRING_ARMENIAN_SMALL_TOP = 210, 91 AF_BLUE_STRING_ARMENIAN_SMALL_BOTTOM = 234, 92 AF_BLUE_STRING_ARMENIAN_SMALL_DESCENDER = 258, 93 AF_BLUE_STRING_AVESTAN_TOP = 282, 94 AF_BLUE_STRING_AVESTAN_BOTTOM = 302, 95 AF_BLUE_STRING_BAMUM_TOP = 312, 96 AF_BLUE_STRING_BAMUM_BOTTOM = 344, 97 AF_BLUE_STRING_BENGALI_BASE = 376, 98 AF_BLUE_STRING_BENGALI_TOP = 408, 99 AF_BLUE_STRING_BENGALI_HEAD = 436, 100 AF_BLUE_STRING_BUHID_TOP = 468, 101 AF_BLUE_STRING_BUHID_LARGE = 476, 102 AF_BLUE_STRING_BUHID_SMALL = 488, 103 AF_BLUE_STRING_BUHID_BOTTOM = 504, 104 AF_BLUE_STRING_CANADIAN_SYLLABICS_TOP = 532, 105 AF_BLUE_STRING_CANADIAN_SYLLABICS_BOTTOM = 564, 106 AF_BLUE_STRING_CANADIAN_SYLLABICS_SMALL_TOP = 596, 107 AF_BLUE_STRING_CANADIAN_SYLLABICS_SMALL_BOTTOM = 628, 108 AF_BLUE_STRING_CANADIAN_SYLLABICS_SUPS_TOP = 660, 109 AF_BLUE_STRING_CANADIAN_SYLLABICS_SUPS_BOTTOM = 688, 110 AF_BLUE_STRING_CARIAN_TOP = 720, 111 AF_BLUE_STRING_CARIAN_BOTTOM = 760, 112 AF_BLUE_STRING_CHAKMA_TOP = 795, 113 AF_BLUE_STRING_CHAKMA_BOTTOM = 820, 114 AF_BLUE_STRING_CHAKMA_DESCENDER = 845, 115 AF_BLUE_STRING_CHEROKEE_CAPITAL = 910, 116 AF_BLUE_STRING_CHEROKEE_SMALL_ASCENDER = 942, 117 AF_BLUE_STRING_CHEROKEE_SMALL = 974, 118 AF_BLUE_STRING_CHEROKEE_SMALL_DESCENDER = 1006, 119 AF_BLUE_STRING_COPTIC_CAPITAL_TOP = 1022, 120 AF_BLUE_STRING_COPTIC_CAPITAL_BOTTOM = 1054, 121 AF_BLUE_STRING_COPTIC_SMALL_TOP = 1086, 122 AF_BLUE_STRING_COPTIC_SMALL_BOTTOM = 1118, 123 AF_BLUE_STRING_CYPRIOT_TOP = 1150, 124 AF_BLUE_STRING_CYPRIOT_BOTTOM = 1190, 125 AF_BLUE_STRING_CYPRIOT_SMALL = 1225, 126 AF_BLUE_STRING_CYRILLIC_CAPITAL_TOP = 1240, 127 AF_BLUE_STRING_CYRILLIC_CAPITAL_BOTTOM = 1264, 128 AF_BLUE_STRING_CYRILLIC_SMALL = 1288, 129 AF_BLUE_STRING_CYRILLIC_SMALL_DESCENDER = 1312, 130 AF_BLUE_STRING_DESERET_CAPITAL_TOP = 1321, 131 AF_BLUE_STRING_DESERET_CAPITAL_BOTTOM = 1346, 132 AF_BLUE_STRING_DESERET_SMALL_TOP = 1371, 133 AF_BLUE_STRING_DESERET_SMALL_BOTTOM = 1396, 134 AF_BLUE_STRING_DEVANAGARI_BASE = 1421, 135 AF_BLUE_STRING_DEVANAGARI_TOP = 1453, 136 AF_BLUE_STRING_DEVANAGARI_HEAD = 1485, 137 AF_BLUE_STRING_DEVANAGARI_BOTTOM = 1517, 138 AF_BLUE_STRING_ETHIOPIC_TOP = 1525, 139 AF_BLUE_STRING_ETHIOPIC_BOTTOM = 1557, 140 AF_BLUE_STRING_GEORGIAN_MKHEDRULI_TOP = 1589, 141 AF_BLUE_STRING_GEORGIAN_MKHEDRULI_BOTTOM = 1621, 142 AF_BLUE_STRING_GEORGIAN_MKHEDRULI_ASCENDER = 1653, 143 AF_BLUE_STRING_GEORGIAN_MKHEDRULI_DESCENDER = 1685, 144 AF_BLUE_STRING_GEORGIAN_ASOMTAVRULI_TOP = 1717, 145 AF_BLUE_STRING_GEORGIAN_ASOMTAVRULI_BOTTOM = 1749, 146 AF_BLUE_STRING_GEORGIAN_NUSKHURI_TOP = 1781, 147 AF_BLUE_STRING_GEORGIAN_NUSKHURI_BOTTOM = 1813, 148 AF_BLUE_STRING_GEORGIAN_NUSKHURI_ASCENDER = 1845, 149 AF_BLUE_STRING_GEORGIAN_NUSKHURI_DESCENDER = 1877, 150 AF_BLUE_STRING_GEORGIAN_MTAVRULI_TOP = 1909, 151 AF_BLUE_STRING_GEORGIAN_MTAVRULI_BOTTOM = 1941, 152 AF_BLUE_STRING_GLAGOLITIC_CAPITAL_TOP = 1973, 153 AF_BLUE_STRING_GLAGOLITIC_CAPITAL_BOTTOM = 2005, 154 AF_BLUE_STRING_GLAGOLITIC_SMALL_TOP = 2037, 155 AF_BLUE_STRING_GLAGOLITIC_SMALL_BOTTOM = 2069, 156 AF_BLUE_STRING_GOTHIC_TOP = 2101, 157 AF_BLUE_STRING_GOTHIC_BOTTOM = 2141, 158 AF_BLUE_STRING_GREEK_CAPITAL_TOP = 2161, 159 AF_BLUE_STRING_GREEK_CAPITAL_BOTTOM = 2182, 160 AF_BLUE_STRING_GREEK_SMALL_BETA_TOP = 2200, 161 AF_BLUE_STRING_GREEK_SMALL = 2218, 162 AF_BLUE_STRING_GREEK_SMALL_DESCENDER = 2242, 163 AF_BLUE_STRING_GUJARATI_TOP = 2266, 164 AF_BLUE_STRING_GUJARATI_BOTTOM = 2298, 165 AF_BLUE_STRING_GUJARATI_ASCENDER = 2330, 166 AF_BLUE_STRING_GUJARATI_DESCENDER = 2380, 167 AF_BLUE_STRING_GUJARATI_DIGIT_TOP = 2413, 168 AF_BLUE_STRING_GURMUKHI_BASE = 2433, 169 AF_BLUE_STRING_GURMUKHI_HEAD = 2465, 170 AF_BLUE_STRING_GURMUKHI_TOP = 2497, 171 AF_BLUE_STRING_GURMUKHI_BOTTOM = 2529, 172 AF_BLUE_STRING_GURMUKHI_DIGIT_TOP = 2561, 173 AF_BLUE_STRING_HEBREW_TOP = 2581, 174 AF_BLUE_STRING_HEBREW_BOTTOM = 2605, 175 AF_BLUE_STRING_HEBREW_DESCENDER = 2623, 176 AF_BLUE_STRING_KANNADA_TOP = 2638, 177 AF_BLUE_STRING_KANNADA_BOTTOM = 2682, 178 AF_BLUE_STRING_KAYAH_LI_TOP = 2714, 179 AF_BLUE_STRING_KAYAH_LI_BOTTOM = 2738, 180 AF_BLUE_STRING_KAYAH_LI_ASCENDER = 2758, 181 AF_BLUE_STRING_KAYAH_LI_DESCENDER = 2766, 182 AF_BLUE_STRING_KAYAH_LI_LARGE_DESCENDER = 2778, 183 AF_BLUE_STRING_KHMER_TOP = 2799, 184 AF_BLUE_STRING_KHMER_SUBSCRIPT_TOP = 2823, 185 AF_BLUE_STRING_KHMER_BOTTOM = 2863, 186 AF_BLUE_STRING_KHMER_DESCENDER = 2895, 187 AF_BLUE_STRING_KHMER_LARGE_DESCENDER = 2929, 188 AF_BLUE_STRING_KHMER_SYMBOLS_WAXING_TOP = 3016, 189 AF_BLUE_STRING_KHMER_SYMBOLS_WANING_BOTTOM = 3024, 190 AF_BLUE_STRING_LAO_TOP = 3032, 191 AF_BLUE_STRING_LAO_BOTTOM = 3064, 192 AF_BLUE_STRING_LAO_ASCENDER = 3096, 193 AF_BLUE_STRING_LAO_LARGE_ASCENDER = 3112, 194 AF_BLUE_STRING_LAO_DESCENDER = 3124, 195 AF_BLUE_STRING_LATIN_CAPITAL_TOP = 3148, 196 AF_BLUE_STRING_LATIN_CAPITAL_BOTTOM = 3164, 197 AF_BLUE_STRING_LATIN_SMALL_F_TOP = 3180, 198 AF_BLUE_STRING_LATIN_SMALL_TOP = 3194, 199 AF_BLUE_STRING_LATIN_SMALL_BOTTOM = 3210, 200 AF_BLUE_STRING_LATIN_SMALL_DESCENDER = 3226, 201 AF_BLUE_STRING_LATIN_SUBS_CAPITAL_TOP = 3236, 202 AF_BLUE_STRING_LATIN_SUBS_CAPITAL_BOTTOM = 3256, 203 AF_BLUE_STRING_LATIN_SUBS_SMALL_F_TOP = 3276, 204 AF_BLUE_STRING_LATIN_SUBS_SMALL = 3296, 205 AF_BLUE_STRING_LATIN_SUBS_SMALL_DESCENDER = 3332, 206 AF_BLUE_STRING_LATIN_SUPS_CAPITAL_TOP = 3352, 207 AF_BLUE_STRING_LATIN_SUPS_CAPITAL_BOTTOM = 3383, 208 AF_BLUE_STRING_LATIN_SUPS_SMALL_F_TOP = 3412, 209 AF_BLUE_STRING_LATIN_SUPS_SMALL = 3438, 210 AF_BLUE_STRING_LATIN_SUPS_SMALL_DESCENDER = 3463, 211 AF_BLUE_STRING_LISU_TOP = 3474, 212 AF_BLUE_STRING_LISU_BOTTOM = 3506, 213 AF_BLUE_STRING_MALAYALAM_TOP = 3538, 214 AF_BLUE_STRING_MALAYALAM_BOTTOM = 3582, 215 AF_BLUE_STRING_MEDEFAIDRIN_CAPITAL_TOP = 3614, 216 AF_BLUE_STRING_MEDEFAIDRIN_CAPITAL_BOTTOM = 3649, 217 AF_BLUE_STRING_MEDEFAIDRIN_SMALL_F_TOP = 3689, 218 AF_BLUE_STRING_MEDEFAIDRIN_SMALL_TOP = 3719, 219 AF_BLUE_STRING_MEDEFAIDRIN_SMALL_BOTTOM = 3749, 220 AF_BLUE_STRING_MEDEFAIDRIN_SMALL_DESCENDER = 3779, 221 AF_BLUE_STRING_MEDEFAIDRIN_DIGIT_TOP = 3794, 222 AF_BLUE_STRING_MONGOLIAN_TOP_BASE = 3819, 223 AF_BLUE_STRING_MONGOLIAN_BOTTOM_BASE = 3863, 224 AF_BLUE_STRING_MYANMAR_TOP = 3867, 225 AF_BLUE_STRING_MYANMAR_BOTTOM = 3899, 226 AF_BLUE_STRING_MYANMAR_ASCENDER = 3931, 227 AF_BLUE_STRING_MYANMAR_DESCENDER = 3959, 228 AF_BLUE_STRING_NKO_TOP = 3991, 229 AF_BLUE_STRING_NKO_BOTTOM = 4015, 230 AF_BLUE_STRING_NKO_SMALL_TOP = 4030, 231 AF_BLUE_STRING_NKO_SMALL_BOTTOM = 4039, 232 AF_BLUE_STRING_OL_CHIKI = 4051, 233 AF_BLUE_STRING_OLD_TURKIC_TOP = 4075, 234 AF_BLUE_STRING_OLD_TURKIC_BOTTOM = 4090, 235 AF_BLUE_STRING_OSAGE_CAPITAL_TOP = 4110, 236 AF_BLUE_STRING_OSAGE_CAPITAL_BOTTOM = 4150, 237 AF_BLUE_STRING_OSAGE_CAPITAL_DESCENDER = 4180, 238 AF_BLUE_STRING_OSAGE_SMALL_TOP = 4195, 239 AF_BLUE_STRING_OSAGE_SMALL_BOTTOM = 4235, 240 AF_BLUE_STRING_OSAGE_SMALL_ASCENDER = 4275, 241 AF_BLUE_STRING_OSAGE_SMALL_DESCENDER = 4300, 242 AF_BLUE_STRING_OSMANYA_TOP = 4315, 243 AF_BLUE_STRING_OSMANYA_BOTTOM = 4355, 244 AF_BLUE_STRING_ROHINGYA_TOP = 4395, 245 AF_BLUE_STRING_ROHINGYA_BOTTOM = 4420, 246 AF_BLUE_STRING_ROHINGYA_JOIN = 4445, 247 AF_BLUE_STRING_SAURASHTRA_TOP = 4448, 248 AF_BLUE_STRING_SAURASHTRA_BOTTOM = 4480, 249 AF_BLUE_STRING_SHAVIAN_TOP = 4500, 250 AF_BLUE_STRING_SHAVIAN_BOTTOM = 4510, 251 AF_BLUE_STRING_SHAVIAN_DESCENDER = 4535, 252 AF_BLUE_STRING_SHAVIAN_SMALL_TOP = 4545, 253 AF_BLUE_STRING_SHAVIAN_SMALL_BOTTOM = 4580, 254 AF_BLUE_STRING_SINHALA_TOP = 4595, 255 AF_BLUE_STRING_SINHALA_BOTTOM = 4627, 256 AF_BLUE_STRING_SINHALA_DESCENDER = 4659, 257 AF_BLUE_STRING_SUNDANESE_TOP = 4703, 258 AF_BLUE_STRING_SUNDANESE_BOTTOM = 4727, 259 AF_BLUE_STRING_SUNDANESE_DESCENDER = 4759, 260 AF_BLUE_STRING_TAI_VIET_TOP = 4767, 261 AF_BLUE_STRING_TAI_VIET_BOTTOM = 4787, 262 AF_BLUE_STRING_TAMIL_TOP = 4799, 263 AF_BLUE_STRING_TAMIL_BOTTOM = 4831, 264 AF_BLUE_STRING_TELUGU_TOP = 4863, 265 AF_BLUE_STRING_TELUGU_BOTTOM = 4891, 266 AF_BLUE_STRING_THAI_TOP = 4919, 267 AF_BLUE_STRING_THAI_BOTTOM = 4943, 268 AF_BLUE_STRING_THAI_ASCENDER = 4971, 269 AF_BLUE_STRING_THAI_LARGE_ASCENDER = 4983, 270 AF_BLUE_STRING_THAI_DESCENDER = 4995, 271 AF_BLUE_STRING_THAI_LARGE_DESCENDER = 5011, 272 AF_BLUE_STRING_THAI_DIGIT_TOP = 5019, 273 AF_BLUE_STRING_TIFINAGH = 5031, 274 AF_BLUE_STRING_VAI_TOP = 5063, 275 AF_BLUE_STRING_VAI_BOTTOM = 5095, 276 af_blue_1_1 = 5126, 277 #ifdef AF_CONFIG_OPTION_CJK 278 AF_BLUE_STRING_CJK_TOP = af_blue_1_1 + 1, 279 AF_BLUE_STRING_CJK_BOTTOM = af_blue_1_1 + 203, 280 af_blue_1_1_1 = af_blue_1_1 + 404, 281 #ifdef AF_CONFIG_OPTION_CJK_BLUE_HANI_VERT 282 AF_BLUE_STRING_CJK_LEFT = af_blue_1_1_1 + 1, 283 AF_BLUE_STRING_CJK_RIGHT = af_blue_1_1_1 + 204, 284 af_blue_1_1_2 = af_blue_1_1_1 + 405, 285 #else 286 af_blue_1_1_2 = af_blue_1_1_1 + 0, 287 #endif /* AF_CONFIG_OPTION_CJK_BLUE_HANI_VERT */ 288 af_blue_1_2 = af_blue_1_1_2 + 0, 289 #else 290 af_blue_1_2 = af_blue_1_1 + 0, 291 #endif /* AF_CONFIG_OPTION_CJK */ 292 293 294 AF_BLUE_STRING_MAX /* do not remove */ 295 296 } AF_Blue_String; 297 298 299 FT_LOCAL_ARRAY( char ) 300 af_blue_strings[]; 301 302 303 /*************************************************************************/ 304 /*************************************************************************/ 305 /***** *****/ 306 /***** B L U E S T R I N G S E T S *****/ 307 /***** *****/ 308 /*************************************************************************/ 309 /*************************************************************************/ 310 311 /* The next level is to group blue strings into style-specific sets. */ 312 313 314 /* Properties are specific to a writing system. We assume that a given */ 315 /* blue string can't be used in more than a single writing system, which */ 316 /* is a safe bet. */ 317 #define AF_BLUE_PROPERTY_LATIN_TOP ( 1U << 0 ) /* must have value 1 */ 318 #define AF_BLUE_PROPERTY_LATIN_SUB_TOP ( 1U << 1 ) 319 #define AF_BLUE_PROPERTY_LATIN_NEUTRAL ( 1U << 2 ) 320 #define AF_BLUE_PROPERTY_LATIN_X_HEIGHT ( 1U << 3 ) 321 #define AF_BLUE_PROPERTY_LATIN_LONG ( 1U << 4 ) 322 323 #define AF_BLUE_PROPERTY_CJK_TOP ( 1U << 0 ) /* must have value 1 */ 324 #define AF_BLUE_PROPERTY_CJK_HORIZ ( 1U << 1 ) /* must have value 2 */ 325 #define AF_BLUE_PROPERTY_CJK_RIGHT AF_BLUE_PROPERTY_CJK_TOP 326 327 328 #define AF_BLUE_STRINGSET_MAX_LEN 8 329 330 /* The AF_Blue_Stringset enumeration values are offsets into the */ 331 /* `af_blue_stringsets' array. */ 332 333 typedef enum AF_Blue_Stringset_ 334 { 335 AF_BLUE_STRINGSET_ADLM = 0, 336 AF_BLUE_STRINGSET_ARAB = 5, 337 AF_BLUE_STRINGSET_ARMN = 9, 338 AF_BLUE_STRINGSET_AVST = 16, 339 AF_BLUE_STRINGSET_BAMU = 19, 340 AF_BLUE_STRINGSET_BENG = 22, 341 AF_BLUE_STRINGSET_BUHD = 27, 342 AF_BLUE_STRINGSET_CAKM = 32, 343 AF_BLUE_STRINGSET_CANS = 36, 344 AF_BLUE_STRINGSET_CARI = 43, 345 AF_BLUE_STRINGSET_CHER = 46, 346 AF_BLUE_STRINGSET_COPT = 53, 347 AF_BLUE_STRINGSET_CPRT = 58, 348 AF_BLUE_STRINGSET_CYRL = 63, 349 AF_BLUE_STRINGSET_DEVA = 69, 350 AF_BLUE_STRINGSET_DSRT = 75, 351 AF_BLUE_STRINGSET_ETHI = 80, 352 AF_BLUE_STRINGSET_GEOR = 83, 353 AF_BLUE_STRINGSET_GEOK = 90, 354 AF_BLUE_STRINGSET_GLAG = 97, 355 AF_BLUE_STRINGSET_GOTH = 102, 356 AF_BLUE_STRINGSET_GREK = 105, 357 AF_BLUE_STRINGSET_GUJR = 112, 358 AF_BLUE_STRINGSET_GURU = 118, 359 AF_BLUE_STRINGSET_HEBR = 124, 360 AF_BLUE_STRINGSET_KNDA = 128, 361 AF_BLUE_STRINGSET_KALI = 131, 362 AF_BLUE_STRINGSET_KHMR = 137, 363 AF_BLUE_STRINGSET_KHMS = 143, 364 AF_BLUE_STRINGSET_LAO = 146, 365 AF_BLUE_STRINGSET_LATN = 152, 366 AF_BLUE_STRINGSET_LATB = 159, 367 AF_BLUE_STRINGSET_LATP = 166, 368 AF_BLUE_STRINGSET_LISU = 173, 369 AF_BLUE_STRINGSET_MLYM = 176, 370 AF_BLUE_STRINGSET_MEDF = 179, 371 AF_BLUE_STRINGSET_MONG = 187, 372 AF_BLUE_STRINGSET_MYMR = 190, 373 AF_BLUE_STRINGSET_NKOO = 195, 374 AF_BLUE_STRINGSET_NONE = 200, 375 AF_BLUE_STRINGSET_OLCK = 201, 376 AF_BLUE_STRINGSET_ORKH = 204, 377 AF_BLUE_STRINGSET_OSGE = 207, 378 AF_BLUE_STRINGSET_OSMA = 215, 379 AF_BLUE_STRINGSET_ROHG = 218, 380 AF_BLUE_STRINGSET_SAUR = 222, 381 AF_BLUE_STRINGSET_SHAW = 225, 382 AF_BLUE_STRINGSET_SINH = 231, 383 AF_BLUE_STRINGSET_SUND = 235, 384 AF_BLUE_STRINGSET_TAML = 239, 385 AF_BLUE_STRINGSET_TAVT = 242, 386 AF_BLUE_STRINGSET_TELU = 245, 387 AF_BLUE_STRINGSET_THAI = 248, 388 AF_BLUE_STRINGSET_TFNG = 256, 389 AF_BLUE_STRINGSET_VAII = 259, 390 af_blue_2_1 = 262, 391 #ifdef AF_CONFIG_OPTION_CJK 392 AF_BLUE_STRINGSET_HANI = af_blue_2_1 + 0, 393 af_blue_2_1_1 = af_blue_2_1 + 2, 394 #ifdef AF_CONFIG_OPTION_CJK_BLUE_HANI_VERT 395 af_blue_2_1_2 = af_blue_2_1_1 + 2, 396 #else 397 af_blue_2_1_2 = af_blue_2_1_1 + 0, 398 #endif /* AF_CONFIG_OPTION_CJK_BLUE_HANI_VERT */ 399 af_blue_2_2 = af_blue_2_1_2 + 1, 400 #else 401 af_blue_2_2 = af_blue_2_1 + 0, 402 #endif /* AF_CONFIG_OPTION_CJK */ 403 404 405 AF_BLUE_STRINGSET_MAX /* do not remove */ 406 407 } AF_Blue_Stringset; 408 409 410 typedef struct AF_Blue_StringRec_ 411 { 412 AF_Blue_String string; 413 FT_UShort properties; 414 415 } AF_Blue_StringRec; 416 417 418 FT_LOCAL_ARRAY( AF_Blue_StringRec ) 419 af_blue_stringsets[]; 420 421 /* */ 422 423 FT_END_HEADER 424 425 426 #endif /* AFBLUE_H_ */ 427 428 429 /* END */ 430