xref: /inferno-os/libfreetype/cidtoken.h (revision 37da2899f40661e3e9631e497da8dc59b971cbd0)
1*37da2899SCharles.Forsyth /***************************************************************************/
2*37da2899SCharles.Forsyth /*                                                                         */
3*37da2899SCharles.Forsyth /*  cidtoken.h                                                             */
4*37da2899SCharles.Forsyth /*                                                                         */
5*37da2899SCharles.Forsyth /*    CID token definitions (specification only).                          */
6*37da2899SCharles.Forsyth /*                                                                         */
7*37da2899SCharles.Forsyth /*  Copyright 1996-2001, 2002 by                                           */
8*37da2899SCharles.Forsyth /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
9*37da2899SCharles.Forsyth /*                                                                         */
10*37da2899SCharles.Forsyth /*  This file is part of the FreeType project, and may only be used,       */
11*37da2899SCharles.Forsyth /*  modified, and distributed under the terms of the FreeType project      */
12*37da2899SCharles.Forsyth /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
13*37da2899SCharles.Forsyth /*  this file you indicate that you have read the license and              */
14*37da2899SCharles.Forsyth /*  understand and accept it fully.                                        */
15*37da2899SCharles.Forsyth /*                                                                         */
16*37da2899SCharles.Forsyth /***************************************************************************/
17*37da2899SCharles.Forsyth 
18*37da2899SCharles.Forsyth 
19*37da2899SCharles.Forsyth #undef  FT_STRUCTURE
20*37da2899SCharles.Forsyth #define FT_STRUCTURE  CID_FaceInfoRec
21*37da2899SCharles.Forsyth #undef  T1CODE
22*37da2899SCharles.Forsyth #define T1CODE        T1_FIELD_LOCATION_CID_INFO
23*37da2899SCharles.Forsyth 
24*37da2899SCharles.Forsyth   T1_FIELD_STRING( "CIDFontName", cid_font_name )
25*37da2899SCharles.Forsyth   T1_FIELD_NUM   ( "CIDFontVersion", cid_version )
26*37da2899SCharles.Forsyth   T1_FIELD_NUM   ( "CIDFontType", cid_font_type )
27*37da2899SCharles.Forsyth   T1_FIELD_STRING( "Registry", registry )
28*37da2899SCharles.Forsyth   T1_FIELD_STRING( "Ordering", ordering )
29*37da2899SCharles.Forsyth   T1_FIELD_NUM   ( "Supplement", supplement )
30*37da2899SCharles.Forsyth   T1_FIELD_NUM   ( "UIDBase", uid_base )
31*37da2899SCharles.Forsyth   T1_FIELD_NUM   ( "CIDMapOffset", cidmap_offset )
32*37da2899SCharles.Forsyth   T1_FIELD_NUM   ( "FDBytes", fd_bytes )
33*37da2899SCharles.Forsyth   T1_FIELD_NUM   ( "GDBytes", gd_bytes )
34*37da2899SCharles.Forsyth   T1_FIELD_NUM   ( "CIDCount", cid_count )
35*37da2899SCharles.Forsyth 
36*37da2899SCharles.Forsyth 
37*37da2899SCharles.Forsyth #undef  FT_STRUCTURE
38*37da2899SCharles.Forsyth #define FT_STRUCTURE  PS_FontInfoRec
39*37da2899SCharles.Forsyth #undef  T1CODE
40*37da2899SCharles.Forsyth #define T1CODE        T1_FIELD_LOCATION_FONT_INFO
41*37da2899SCharles.Forsyth 
42*37da2899SCharles.Forsyth   T1_FIELD_STRING   ( "version", version )
43*37da2899SCharles.Forsyth   T1_FIELD_STRING   ( "Notice", notice )
44*37da2899SCharles.Forsyth   T1_FIELD_STRING   ( "FullName", full_name )
45*37da2899SCharles.Forsyth   T1_FIELD_STRING   ( "FamilyName", family_name )
46*37da2899SCharles.Forsyth   T1_FIELD_STRING   ( "Weight", weight )
47*37da2899SCharles.Forsyth   T1_FIELD_FIXED    ( "ItalicAngle", italic_angle )
48*37da2899SCharles.Forsyth   T1_FIELD_TYPE_BOOL( "isFixedPitch", is_fixed_pitch )
49*37da2899SCharles.Forsyth   T1_FIELD_NUM      ( "UnderlinePosition", underline_position )
50*37da2899SCharles.Forsyth   T1_FIELD_NUM      ( "UnderlineThickness", underline_thickness )
51*37da2899SCharles.Forsyth 
52*37da2899SCharles.Forsyth 
53*37da2899SCharles.Forsyth #undef  FT_STRUCTURE
54*37da2899SCharles.Forsyth #define FT_STRUCTURE  CID_FaceDictRec
55*37da2899SCharles.Forsyth #undef  T1CODE
56*37da2899SCharles.Forsyth #define T1CODE        T1_FIELD_LOCATION_FONT_DICT
57*37da2899SCharles.Forsyth 
58*37da2899SCharles.Forsyth   T1_FIELD_NUM  ( "PaintType", paint_type )
59*37da2899SCharles.Forsyth   T1_FIELD_NUM  ( "FontType", font_type )
60*37da2899SCharles.Forsyth   T1_FIELD_NUM  ( "SubrMapOffset", subrmap_offset )
61*37da2899SCharles.Forsyth   T1_FIELD_NUM  ( "SDBytes", sd_bytes )
62*37da2899SCharles.Forsyth   T1_FIELD_NUM  ( "SubrCount", num_subrs )
63*37da2899SCharles.Forsyth   T1_FIELD_NUM  ( "lenBuildCharArray", len_buildchar )
64*37da2899SCharles.Forsyth   T1_FIELD_FIXED( "ForceBoldThreshold", forcebold_threshold )
65*37da2899SCharles.Forsyth   T1_FIELD_FIXED( "ExpansionFactor", expansion_factor )
66*37da2899SCharles.Forsyth   T1_FIELD_NUM  ( "StrokeWidth", stroke_width )
67*37da2899SCharles.Forsyth 
68*37da2899SCharles.Forsyth 
69*37da2899SCharles.Forsyth #undef  FT_STRUCTURE
70*37da2899SCharles.Forsyth #define FT_STRUCTURE  PS_PrivateRec
71*37da2899SCharles.Forsyth #undef  T1CODE
72*37da2899SCharles.Forsyth #define T1CODE        T1_FIELD_LOCATION_PRIVATE
73*37da2899SCharles.Forsyth 
74*37da2899SCharles.Forsyth   T1_FIELD_NUM       ( "UniqueID", unique_id )
75*37da2899SCharles.Forsyth   T1_FIELD_NUM       ( "lenIV", lenIV )
76*37da2899SCharles.Forsyth   T1_FIELD_NUM       ( "LanguageGroup", language_group )
77*37da2899SCharles.Forsyth   T1_FIELD_NUM       ( "password", password )
78*37da2899SCharles.Forsyth 
79*37da2899SCharles.Forsyth   T1_FIELD_FIXED     ( "BlueScale", blue_scale )
80*37da2899SCharles.Forsyth   T1_FIELD_NUM       ( "BlueShift", blue_shift )
81*37da2899SCharles.Forsyth   T1_FIELD_NUM       ( "BlueFuzz",  blue_fuzz )
82*37da2899SCharles.Forsyth 
83*37da2899SCharles.Forsyth   T1_FIELD_NUM_TABLE ( "BlueValues", blue_values, 14 )
84*37da2899SCharles.Forsyth   T1_FIELD_NUM_TABLE ( "OtherBlues", other_blues, 10 )
85*37da2899SCharles.Forsyth   T1_FIELD_NUM_TABLE ( "FamilyBlues", family_blues, 14 )
86*37da2899SCharles.Forsyth   T1_FIELD_NUM_TABLE ( "FamilyOtherBlues", family_other_blues, 10 )
87*37da2899SCharles.Forsyth 
88*37da2899SCharles.Forsyth   T1_FIELD_NUM_TABLE2( "StdHW", standard_width,  1 )
89*37da2899SCharles.Forsyth   T1_FIELD_NUM_TABLE2( "StdVW", standard_height, 1 )
90*37da2899SCharles.Forsyth   T1_FIELD_NUM_TABLE2( "MinFeature", min_feature, 2 )
91*37da2899SCharles.Forsyth 
92*37da2899SCharles.Forsyth   T1_FIELD_NUM_TABLE ( "StemSnapH", snap_widths, 12 )
93*37da2899SCharles.Forsyth   T1_FIELD_NUM_TABLE ( "StemSnapV", snap_heights, 12 )
94*37da2899SCharles.Forsyth 
95*37da2899SCharles.Forsyth 
96*37da2899SCharles.Forsyth /* END */
97