]>
Commit | Line | Data |
---|---|---|
cabec872 RR |
1 | /***************************************************************************/ |
2 | /* */ | |
3 | /* cidtokens.h */ | |
4 | /* */ | |
5 | /* CID token definitions (specification only). */ | |
6 | /* */ | |
7 | /* Copyright 1996-2000 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 | /***************************************************************************/ | |
17 | ||
18 | ||
19 | #undef T1TYPE | |
20 | #undef T1CODE | |
21 | #define T1TYPE CID_Info | |
22 | #define T1CODE t1_field_cid_info | |
23 | ||
24 | CID_FIELD_STRING ( "CIDFontName", cid_font_name ) | |
25 | CID_FIELD_NUM ( "CIDFontVersion", cid_version ) | |
26 | CID_FIELD_NUM ( "CIDFontType", cid_font_type ) | |
27 | CID_FIELD_STRING ( "Registry", registry ) | |
28 | CID_FIELD_STRING ( "Ordering", ordering ) | |
29 | CID_FIELD_NUM ( "Supplement", supplement ) | |
30 | CID_FIELD_CALLBACK( "FontBBox", font_bbox ) | |
31 | CID_FIELD_NUM ( "UIDBase", uid_base ) | |
32 | CID_FIELD_CALLBACK( "FDArray", fd_array ) | |
33 | CID_FIELD_NUM ( "CIDMapOffset", cidmap_offset ) | |
34 | CID_FIELD_NUM ( "FDBytes", fd_bytes ) | |
35 | CID_FIELD_NUM ( "GDBytes", gd_bytes ) | |
36 | CID_FIELD_NUM ( "CIDCount", cid_count ) | |
37 | ||
38 | ||
39 | #undef T1TYPE | |
40 | #undef T1CODE | |
41 | #define T1TYPE T1_FontInfo | |
42 | #define T1CODE t1_field_font_info | |
43 | ||
44 | CID_FIELD_STRING( "version", version ) | |
45 | CID_FIELD_STRING( "Notice", notice ) | |
46 | CID_FIELD_STRING( "FullName", full_name ) | |
47 | CID_FIELD_STRING( "FamilyName", family_name ) | |
48 | CID_FIELD_STRING( "Weight", weight ) | |
49 | CID_FIELD_FIXED ( "ItalicAngle", italic_angle ) | |
50 | CID_FIELD_BOOL ( "isFixedPitch", is_fixed_pitch ) | |
51 | CID_FIELD_NUM ( "UnderlinePosition", underline_position ) | |
52 | CID_FIELD_NUM ( "UnderlineThickness", underline_thickness ) | |
53 | ||
54 | ||
55 | #undef T1TYPE | |
56 | #undef T1CODE | |
57 | #define T1TYPE CID_FontDict | |
58 | #define T1CODE t1_field_font_dict | |
59 | ||
60 | CID_FIELD_CALLBACK( "FontMatrix", font_matrix ) | |
61 | CID_FIELD_NUM ( "PaintType", paint_type ) | |
62 | CID_FIELD_NUM ( "FontType", font_type ) | |
63 | CID_FIELD_NUM ( "SubrMapOffset", subrmap_offset ) | |
64 | CID_FIELD_NUM ( "SDBytes", sd_bytes ) | |
65 | CID_FIELD_NUM ( "SubrCount", num_subrs ) | |
66 | CID_FIELD_NUM ( "lenBuildCharArray", len_buildchar ) | |
67 | CID_FIELD_FIXED ( "ForceBoldThreshold", forcebold_threshold ) | |
68 | CID_FIELD_FIXED ( "ExpansionFactor", expansion_factor ) | |
69 | CID_FIELD_NUM ( "StrokeWidth", stroke_width ) | |
70 | ||
71 | ||
72 | #undef T1TYPE | |
73 | #undef T1CODE | |
74 | #define T1TYPE T1_Private | |
75 | #define T1CODE t1_field_private | |
76 | ||
77 | CID_FIELD_NUM ( "UniqueID", unique_id ) | |
78 | CID_FIELD_NUM ( "lenIV", lenIV ) | |
79 | CID_FIELD_NUM ( "LanguageGroup", language_group ) | |
80 | CID_FIELD_NUM ( "password", password ) | |
81 | ||
82 | CID_FIELD_FIXED ( "BlueScale", blue_scale ) | |
83 | CID_FIELD_NUM ( "BlueShift", blue_shift ) | |
84 | CID_FIELD_NUM ( "BlueFuzz", blue_fuzz ) | |
85 | ||
86 | CID_FIELD_NUM_TABLE ( "BlueValues", blue_values, 14 ) | |
87 | CID_FIELD_NUM_TABLE ( "OtherBlues", other_blues, 10 ) | |
88 | CID_FIELD_NUM_TABLE ( "FamilyBlues", family_blues, 14 ) | |
89 | CID_FIELD_NUM_TABLE ( "FamilyOtherBlues", family_other_blues, 10 ) | |
90 | ||
91 | CID_FIELD_NUM_TABLE2( "StdHW", standard_width, 1 ) | |
92 | CID_FIELD_NUM_TABLE2( "StdVW", standard_height, 1 ) | |
93 | CID_FIELD_NUM_TABLE2( "MinFeature", min_feature, 2 ) | |
94 | ||
95 | CID_FIELD_NUM_TABLE ( "StemSnapH", snap_widths, 12 ) | |
96 | CID_FIELD_NUM_TABLE ( "StemSnapV", snap_heights, 12 ) | |
97 | ||
98 | ||
99 | /* END */ |