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