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