ReactOS  0.4.15-dev-1647-g91fceab
cidtoken.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* cidtoken.h */
4 /* */
5 /* CID token definitions (specification only). */
6 /* */
7 /* Copyright 1996-2018 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 FT_STRUCTURE
20 #define FT_STRUCTURE CID_FaceInfoRec
21 #undef T1CODE
22 #define T1CODE T1_FIELD_LOCATION_CID_INFO
23 
24  T1_FIELD_KEY ( "CIDFontName", cid_font_name, 0 )
25  T1_FIELD_FIXED ( "CIDFontVersion", cid_version, 0 )
26  T1_FIELD_NUM ( "CIDFontType", cid_font_type, 0 )
27  T1_FIELD_STRING( "Registry", registry, 0 )
28  T1_FIELD_STRING( "Ordering", ordering, 0 )
29  T1_FIELD_NUM ( "Supplement", supplement, 0 )
30  T1_FIELD_NUM ( "UIDBase", uid_base, 0 )
31  T1_FIELD_NUM ( "CIDMapOffset", cidmap_offset, 0 )
32  T1_FIELD_NUM ( "FDBytes", fd_bytes, 0 )
33  T1_FIELD_NUM ( "GDBytes", gd_bytes, 0 )
34  T1_FIELD_NUM ( "CIDCount", cid_count, 0 )
35 
36 
37 #undef FT_STRUCTURE
38 #define FT_STRUCTURE PS_FontInfoRec
39 #undef T1CODE
40 #define T1CODE T1_FIELD_LOCATION_FONT_INFO
41 
42  T1_FIELD_STRING( "version", version, 0 )
43  T1_FIELD_STRING( "Notice", notice, 0 )
44  T1_FIELD_STRING( "FullName", full_name, 0 )
45  T1_FIELD_STRING( "FamilyName", family_name, 0 )
46  T1_FIELD_STRING( "Weight", weight, 0 )
47  T1_FIELD_NUM ( "ItalicAngle", italic_angle, 0 )
48  T1_FIELD_BOOL ( "isFixedPitch", is_fixed_pitch, 0 )
49  T1_FIELD_NUM ( "UnderlinePosition", underline_position, 0 )
50  T1_FIELD_NUM ( "UnderlineThickness", underline_thickness, 0 )
51 
52 #undef FT_STRUCTURE
53 #define FT_STRUCTURE PS_FontExtraRec
54 #undef T1CODE
55 #define T1CODE T1_FIELD_LOCATION_FONT_EXTRA
56 
57  T1_FIELD_NUM ( "FSType", fs_type, 0 )
58 
59 
60 #undef FT_STRUCTURE
61 #define FT_STRUCTURE CID_FaceDictRec
62 #undef T1CODE
63 #define T1CODE T1_FIELD_LOCATION_FONT_DICT
64 
65  T1_FIELD_NUM ( "PaintType", paint_type, 0 )
66  T1_FIELD_NUM ( "FontType", font_type, 0 )
67  T1_FIELD_NUM ( "SubrMapOffset", subrmap_offset, 0 )
68  T1_FIELD_NUM ( "SDBytes", sd_bytes, 0 )
69  T1_FIELD_NUM ( "SubrCount", num_subrs, 0 )
70  T1_FIELD_NUM ( "lenBuildCharArray", len_buildchar, 0 )
71  T1_FIELD_FIXED( "ForceBoldThreshold", forcebold_threshold, 0 )
72  T1_FIELD_FIXED( "StrokeWidth", stroke_width, 0 )
73 
74 
75 #undef FT_STRUCTURE
76 #define FT_STRUCTURE PS_PrivateRec
77 #undef T1CODE
78 #define T1CODE T1_FIELD_LOCATION_PRIVATE
79 
80  T1_FIELD_NUM ( "UniqueID", unique_id, 0 )
81  T1_FIELD_NUM ( "lenIV", lenIV, 0 )
82  T1_FIELD_NUM ( "LanguageGroup", language_group, 0 )
84 
85  T1_FIELD_FIXED_1000( "BlueScale", blue_scale, 0 )
86  T1_FIELD_NUM ( "BlueShift", blue_shift, 0 )
87  T1_FIELD_NUM ( "BlueFuzz", blue_fuzz, 0 )
88 
89  T1_FIELD_NUM_TABLE ( "BlueValues", blue_values, 14, 0 )
90  T1_FIELD_NUM_TABLE ( "OtherBlues", other_blues, 10, 0 )
91  T1_FIELD_NUM_TABLE ( "FamilyBlues", family_blues, 14, 0 )
92  T1_FIELD_NUM_TABLE ( "FamilyOtherBlues", family_other_blues, 10, 0 )
93 
94  T1_FIELD_NUM_TABLE2( "StdHW", standard_width, 1, 0 )
95  T1_FIELD_NUM_TABLE2( "StdVW", standard_height, 1, 0 )
96  T1_FIELD_NUM_TABLE2( "MinFeature", min_feature, 2, 0 )
97 
98  T1_FIELD_NUM_TABLE ( "StemSnapH", snap_widths, 12, 0 )
99  T1_FIELD_NUM_TABLE ( "StemSnapV", snap_heights, 12, 0 )
100 
101  T1_FIELD_BOOL ( "ForceBold", force_bold, 0 )
102 
103 
104 #undef FT_STRUCTURE
105 #define FT_STRUCTURE FT_BBox
106 #undef T1CODE
107 #define T1CODE T1_FIELD_LOCATION_BBOX
108 
109  T1_FIELD_BBOX( "FontBBox", xMin, 0 )
110 
111 
112 /* END */
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE standard_width
Definition: t1tokens.h:83
T1_FIELD_DICT_FONTDICT T1_FIELD_DICT_FONTDICT T1_FIELD_DICT_FONTDICT underline_position
Definition: t1tokens.h:40
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE min_feature
Definition: t1tokens.h:87
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_NUM_TABLE2("StdVW", standard_height, 1, T1_FIELD_DICT_PRIVATE) T1_FIELD_NUM_TABLE2("MinFeature"
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_FIXED("ExpansionFactor", expansion_factor, T1_FIELD_DICT_PRIVATE) T1_FIELD_BOOL("ForceBold"
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE family_blues
Definition: t1tokens.h:78
T1_FIELD_DICT_FONTDICT T1_FIELD_DICT_FONTDICT T1_FIELD_DICT_FONTDICT T1_FIELD_BOOL("isFixedPitch", is_fixed_pitch, T1_FIELD_DICT_FONTDICT) T1_FIELD_NUM("UnderlinePosition"
static const WCHAR version[]
Definition: asmname.c:66
const char ** registry
Definition: cffdrivr.c:690
#define T1_FIELD_NUM(_ident, _fname, _dict)
Definition: psaux.h:313
#define T1_FIELD_KEY(_ident, _fname, _dict)
Definition: psaux.h:326
#define T1_FIELD_NUM_TABLE(_ident, _fname, _fmax, _dict)
Definition: psaux.h:333
__u8 fs_type[8]
Definition: mkdosfs.c:363
_In_ PSTRING FullName
Definition: rtlfuncs.h:1649
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_FIXED_1000("BlueScale", blue_scale, T1_FIELD_DICT_PRIVATE) T1_FIELD_NUM("BlueShift"
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE snap_heights
Definition: t1tokens.h:92
T1_FIELD_DICT_PRIVATE password
Definition: t1tokens.h:64
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE blue_values
Definition: t1tokens.h:74
weight
Definition: sortkey.c:156
notice
Definition: t1tokens.h:26
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE force_bold
Definition: t1tokens.h:97
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE blue_shift
Definition: t1tokens.h:69
T1_FIELD_DICT_FONTDICT T1_FIELD_DICT_FONTDICT italic_angle
Definition: t1tokens.h:36
T1_FIELD_DICT_FONTDICT family_name
Definition: t1tokens.h:30
const char const char FT_Int * supplement
Definition: cffdrivr.c:693
lenIV
Definition: t1tokens.h:60
#define T1_FIELD_BBOX(_ident, _fname, _dict)
Definition: psaux.h:329
const char const char ** ordering
Definition: cffdrivr.c:690
#define T1_FIELD_STRING(_ident, _fname, _dict)
Definition: psaux.h:323