cidtoken.h

Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  cidtoken.h                                                             */
00004 /*                                                                         */
00005 /*    CID token definitions (specification only).                          */
00006 /*                                                                         */
00007 /*  Copyright 1996-2001, 2002, 2003, 2006, 2008, 2009 by                   */
00008 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
00009 /*                                                                         */
00010 /*  This file is part of the FreeType project, and may only be used,       */
00011 /*  modified, and distributed under the terms of the FreeType project      */
00012 /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
00013 /*  this file you indicate that you have read the license and              */
00014 /*  understand and accept it fully.                                        */
00015 /*                                                                         */
00016 /***************************************************************************/
00017 
00018 
00019 #undef  FT_STRUCTURE
00020 #define FT_STRUCTURE  CID_FaceInfoRec
00021 #undef  T1CODE
00022 #define T1CODE        T1_FIELD_LOCATION_CID_INFO
00023 
00024   T1_FIELD_KEY   ( "CIDFontName",    cid_font_name, 0 )
00025   T1_FIELD_FIXED ( "CIDFontVersion", cid_version,   0 )
00026   T1_FIELD_NUM   ( "CIDFontType",    cid_font_type, 0 )
00027   T1_FIELD_STRING( "Registry",       registry,      0 )
00028   T1_FIELD_STRING( "Ordering",       ordering,      0 )
00029   T1_FIELD_NUM   ( "Supplement",     supplement,    0 )
00030   T1_FIELD_NUM   ( "UIDBase",        uid_base,      0 )
00031   T1_FIELD_NUM   ( "CIDMapOffset",   cidmap_offset, 0 )
00032   T1_FIELD_NUM   ( "FDBytes",        fd_bytes,      0 )
00033   T1_FIELD_NUM   ( "GDBytes",        gd_bytes,      0 )
00034   T1_FIELD_NUM   ( "CIDCount",       cid_count,     0 )
00035 
00036 
00037 #undef  FT_STRUCTURE
00038 #define FT_STRUCTURE  PS_FontInfoRec
00039 #undef  T1CODE
00040 #define T1CODE        T1_FIELD_LOCATION_FONT_INFO
00041 
00042   T1_FIELD_STRING( "version",            version,             0 )
00043   T1_FIELD_STRING( "Notice",             notice,              0 )
00044   T1_FIELD_STRING( "FullName",           full_name,           0 )
00045   T1_FIELD_STRING( "FamilyName",         family_name,         0 )
00046   T1_FIELD_STRING( "Weight",             weight,              0 )
00047   T1_FIELD_NUM   ( "ItalicAngle",        italic_angle,        0 )
00048   T1_FIELD_BOOL  ( "isFixedPitch",       is_fixed_pitch,      0 )
00049   T1_FIELD_NUM   ( "UnderlinePosition",  underline_position,  0 )
00050   T1_FIELD_NUM   ( "UnderlineThickness", underline_thickness, 0 )
00051 
00052 #undef  FT_STRUCTURE
00053 #define FT_STRUCTURE  PS_FontExtraRec
00054 #undef  T1CODE
00055 #define T1CODE        T1_FIELD_LOCATION_FONT_EXTRA
00056 
00057   T1_FIELD_NUM   ( "FSType",             fs_type,             0 )
00058 
00059 
00060 #undef  FT_STRUCTURE
00061 #define FT_STRUCTURE  CID_FaceDictRec
00062 #undef  T1CODE
00063 #define T1CODE        T1_FIELD_LOCATION_FONT_DICT
00064 
00065   T1_FIELD_NUM  ( "PaintType",          paint_type,          0 )
00066   T1_FIELD_NUM  ( "FontType",           font_type,           0 )
00067   T1_FIELD_NUM  ( "SubrMapOffset",      subrmap_offset,      0 )
00068   T1_FIELD_NUM  ( "SDBytes",            sd_bytes,            0 )
00069   T1_FIELD_NUM  ( "SubrCount",          num_subrs,           0 )
00070   T1_FIELD_NUM  ( "lenBuildCharArray",  len_buildchar,       0 )
00071   T1_FIELD_FIXED( "ForceBoldThreshold", forcebold_threshold, 0 )
00072   T1_FIELD_FIXED( "StrokeWidth",        stroke_width,        0 )
00073 
00074 
00075 #undef  FT_STRUCTURE
00076 #define FT_STRUCTURE  PS_PrivateRec
00077 #undef  T1CODE
00078 #define T1CODE        T1_FIELD_LOCATION_PRIVATE
00079 
00080   T1_FIELD_NUM       ( "UniqueID",         unique_id,      0 )
00081   T1_FIELD_NUM       ( "lenIV",            lenIV,          0 )
00082   T1_FIELD_NUM       ( "LanguageGroup",    language_group, 0 )
00083   T1_FIELD_NUM       ( "password",         password,       0 )
00084 
00085   T1_FIELD_FIXED_1000( "BlueScale",        blue_scale,     0 )
00086   T1_FIELD_NUM       ( "BlueShift",        blue_shift,     0 )
00087   T1_FIELD_NUM       ( "BlueFuzz",         blue_fuzz,      0 )
00088 
00089   T1_FIELD_NUM_TABLE ( "BlueValues",       blue_values,        14, 0 )
00090   T1_FIELD_NUM_TABLE ( "OtherBlues",       other_blues,        10, 0 )
00091   T1_FIELD_NUM_TABLE ( "FamilyBlues",      family_blues,       14, 0 )
00092   T1_FIELD_NUM_TABLE ( "FamilyOtherBlues", family_other_blues, 10, 0 )
00093 
00094   T1_FIELD_NUM_TABLE2( "StdHW",            standard_width,      1, 0 )
00095   T1_FIELD_NUM_TABLE2( "StdVW",            standard_height,     1, 0 )
00096   T1_FIELD_NUM_TABLE2( "MinFeature",       min_feature,         2, 0 )
00097 
00098   T1_FIELD_NUM_TABLE ( "StemSnapH",        snap_widths,        12, 0 )
00099   T1_FIELD_NUM_TABLE ( "StemSnapV",        snap_heights,       12, 0 )
00100 
00101   T1_FIELD_BOOL      ( "ForceBold",        force_bold,          0 )
00102 
00103 
00104 #undef  FT_STRUCTURE
00105 #define FT_STRUCTURE  FT_BBox
00106 #undef  T1CODE
00107 #define T1CODE        T1_FIELD_LOCATION_BBOX
00108 
00109   T1_FIELD_BBOX( "FontBBox", xMin, 0 )
00110 
00111 
00112 /* END */

Generated on Tue Jul 5 14:13:46 2011 for ROOT_528-00b_version by  doxygen 1.5.1