tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ttnameid.h (58815B)


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