misc/libfreetype/src/cid/cidtoken.h
author koda
Mon, 25 Apr 2011 01:46:54 +0200
changeset 5172 88f2e05288ba
permissions -rw-r--r--
aaand let's add freetype as well while we are at it other smaller changes
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
/*  cidtoken.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
/*    CID token 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-2001, 2002, 2003, 2006, 2008, 2009 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
#undef  FT_STRUCTURE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    20
#define FT_STRUCTURE  CID_FaceInfoRec
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    21
#undef  T1CODE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    22
#define T1CODE        T1_FIELD_LOCATION_CID_INFO
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    23
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    24
  T1_FIELD_KEY   ( "CIDFontName",    cid_font_name, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    25
  T1_FIELD_FIXED ( "CIDFontVersion", cid_version,   0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    26
  T1_FIELD_NUM   ( "CIDFontType",    cid_font_type, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    27
  T1_FIELD_STRING( "Registry",       registry,      0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    28
  T1_FIELD_STRING( "Ordering",       ordering,      0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    29
  T1_FIELD_NUM   ( "Supplement",     supplement,    0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    30
  T1_FIELD_NUM   ( "UIDBase",        uid_base,      0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    31
  T1_FIELD_NUM   ( "CIDMapOffset",   cidmap_offset, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    32
  T1_FIELD_NUM   ( "FDBytes",        fd_bytes,      0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    33
  T1_FIELD_NUM   ( "GDBytes",        gd_bytes,      0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    34
  T1_FIELD_NUM   ( "CIDCount",       cid_count,     0 )
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
#undef  FT_STRUCTURE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    38
#define FT_STRUCTURE  PS_FontInfoRec
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    39
#undef  T1CODE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    40
#define T1CODE        T1_FIELD_LOCATION_FONT_INFO
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
  T1_FIELD_STRING( "version",            version,             0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    43
  T1_FIELD_STRING( "Notice",             notice,              0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    44
  T1_FIELD_STRING( "FullName",           full_name,           0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    45
  T1_FIELD_STRING( "FamilyName",         family_name,         0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    46
  T1_FIELD_STRING( "Weight",             weight,              0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    47
  T1_FIELD_NUM   ( "ItalicAngle",        italic_angle,        0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    48
  T1_FIELD_BOOL  ( "isFixedPitch",       is_fixed_pitch,      0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    49
  T1_FIELD_NUM   ( "UnderlinePosition",  underline_position,  0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    50
  T1_FIELD_NUM   ( "UnderlineThickness", underline_thickness, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    51
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    52
#undef  FT_STRUCTURE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    53
#define FT_STRUCTURE  PS_FontExtraRec
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    54
#undef  T1CODE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    55
#define T1CODE        T1_FIELD_LOCATION_FONT_EXTRA
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    56
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    57
  T1_FIELD_NUM   ( "FSType",             fs_type,             0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    58
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
#undef  FT_STRUCTURE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    61
#define FT_STRUCTURE  CID_FaceDictRec
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    62
#undef  T1CODE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    63
#define T1CODE        T1_FIELD_LOCATION_FONT_DICT
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    64
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    65
  T1_FIELD_NUM  ( "PaintType",          paint_type,          0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    66
  T1_FIELD_NUM  ( "FontType",           font_type,           0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    67
  T1_FIELD_NUM  ( "SubrMapOffset",      subrmap_offset,      0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    68
  T1_FIELD_NUM  ( "SDBytes",            sd_bytes,            0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    69
  T1_FIELD_NUM  ( "SubrCount",          num_subrs,           0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    70
  T1_FIELD_NUM  ( "lenBuildCharArray",  len_buildchar,       0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    71
  T1_FIELD_FIXED( "ForceBoldThreshold", forcebold_threshold, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    72
  T1_FIELD_FIXED( "StrokeWidth",        stroke_width,        0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    73
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    74
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    75
#undef  FT_STRUCTURE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    76
#define FT_STRUCTURE  PS_PrivateRec
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    77
#undef  T1CODE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    78
#define T1CODE        T1_FIELD_LOCATION_PRIVATE
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
  T1_FIELD_NUM       ( "UniqueID",         unique_id,      0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    81
  T1_FIELD_NUM       ( "lenIV",            lenIV,          0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    82
  T1_FIELD_NUM       ( "LanguageGroup",    language_group, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    83
  T1_FIELD_NUM       ( "password",         password,       0 )
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
  T1_FIELD_FIXED_1000( "BlueScale",        blue_scale,     0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    86
  T1_FIELD_NUM       ( "BlueShift",        blue_shift,     0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    87
  T1_FIELD_NUM       ( "BlueFuzz",         blue_fuzz,      0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    88
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    89
  T1_FIELD_NUM_TABLE ( "BlueValues",       blue_values,        14, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    90
  T1_FIELD_NUM_TABLE ( "OtherBlues",       other_blues,        10, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    91
  T1_FIELD_NUM_TABLE ( "FamilyBlues",      family_blues,       14, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    92
  T1_FIELD_NUM_TABLE ( "FamilyOtherBlues", family_other_blues, 10, 0 )
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
  T1_FIELD_NUM_TABLE2( "StdHW",            standard_width,      1, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    95
  T1_FIELD_NUM_TABLE2( "StdVW",            standard_height,     1, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    96
  T1_FIELD_NUM_TABLE2( "MinFeature",       min_feature,         2, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    97
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    98
  T1_FIELD_NUM_TABLE ( "StemSnapH",        snap_widths,        12, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    99
  T1_FIELD_NUM_TABLE ( "StemSnapV",        snap_heights,       12, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   100
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   101
  T1_FIELD_BOOL      ( "ForceBold",        force_bold,          0 )
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
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   104
#undef  FT_STRUCTURE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   105
#define FT_STRUCTURE  FT_BBox
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   106
#undef  T1CODE
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   107
#define T1CODE        T1_FIELD_LOCATION_BBOX
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   108
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   109
  T1_FIELD_BBOX( "FontBBox", xMin, 0 )
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   110
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   111
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   112
/* END */