ReactOS 0.4.15-dev-8413-gc1c91f2
t1tokens.h
Go to the documentation of this file.
1/***************************************************************************/
2/* */
3/* t1tokens.h */
4/* */
5/* Type 1 tokenizer (specification). */
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 PS_FontInfoRec
21#undef T1CODE
22#define T1CODE T1_FIELD_LOCATION_FONT_INFO
23
34
35 /* we use pointers to detect modifications made by synthetic fonts */
36 T1_FIELD_NUM ( "ItalicAngle", italic_angle,
38 T1_FIELD_BOOL ( "isFixedPitch", is_fixed_pitch,
40 T1_FIELD_NUM ( "UnderlinePosition", underline_position,
42 T1_FIELD_NUM ( "UnderlineThickness", underline_thickness,
44
45#undef FT_STRUCTURE
46#define FT_STRUCTURE PS_FontExtraRec
47#undef T1CODE
48#define T1CODE T1_FIELD_LOCATION_FONT_EXTRA
49
50 T1_FIELD_NUM ( "FSType", fs_type,
52
53#undef FT_STRUCTURE
54#define FT_STRUCTURE PS_PrivateRec
55#undef T1CODE
56#define T1CODE T1_FIELD_LOCATION_PRIVATE
57
58 T1_FIELD_NUM ( "UniqueID", unique_id,
62 T1_FIELD_NUM ( "LanguageGroup", language_group,
66
67 T1_FIELD_FIXED_1000( "BlueScale", blue_scale,
69 T1_FIELD_NUM ( "BlueShift", blue_shift,
71 T1_FIELD_NUM ( "BlueFuzz", blue_fuzz,
73
74 T1_FIELD_NUM_TABLE ( "BlueValues", blue_values, 14,
76 T1_FIELD_NUM_TABLE ( "OtherBlues", other_blues, 10,
78 T1_FIELD_NUM_TABLE ( "FamilyBlues", family_blues, 14,
80 T1_FIELD_NUM_TABLE ( "FamilyOtherBlues", family_other_blues, 10,
82
85 T1_FIELD_NUM_TABLE2( "StdVW", standard_height, 1,
89
90 T1_FIELD_NUM_TABLE ( "StemSnapH", snap_widths, 12,
92 T1_FIELD_NUM_TABLE ( "StemSnapV", snap_heights, 12,
94
95 T1_FIELD_FIXED ( "ExpansionFactor", expansion_factor,
97 T1_FIELD_BOOL ( "ForceBold", force_bold,
99
100
101#undef FT_STRUCTURE
102#define FT_STRUCTURE T1_FontRec
103#undef T1CODE
104#define T1CODE T1_FIELD_LOCATION_FONT_DICT
105
106 T1_FIELD_KEY ( "FontName", font_name, T1_FIELD_DICT_FONTDICT )
107 T1_FIELD_NUM ( "PaintType", paint_type, T1_FIELD_DICT_FONTDICT )
108 T1_FIELD_NUM ( "FontType", font_type, T1_FIELD_DICT_FONTDICT )
109 T1_FIELD_FIXED( "StrokeWidth", stroke_width, T1_FIELD_DICT_FONTDICT )
110
111
112#undef FT_STRUCTURE
113#define FT_STRUCTURE FT_BBox
114#undef T1CODE
115#define T1CODE T1_FIELD_LOCATION_BBOX
116
117 T1_FIELD_BBOX( "FontBBox", xMin, T1_FIELD_DICT_FONTDICT )
118
119
120#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
121
122#undef FT_STRUCTURE
123#define FT_STRUCTURE T1_FaceRec
124#undef T1CODE
125#define T1CODE T1_FIELD_LOCATION_FACE
126
127 T1_FIELD_NUM( "NDV", ndv_idx, T1_FIELD_DICT_PRIVATE )
128 T1_FIELD_NUM( "CDV", cdv_idx, T1_FIELD_DICT_PRIVATE )
129
130
131#undef FT_STRUCTURE
132#define FT_STRUCTURE PS_BlendRec
133#undef T1CODE
134#define T1CODE T1_FIELD_LOCATION_BLEND
135
136 T1_FIELD_NUM_TABLE( "DesignVector", default_design_vector,
138
139
140#endif /* T1_CONFIG_OPTION_NO_MM_SUPPORT */
141
142
143/* END */
static const WCHAR version[]
Definition: asmname.c:66
#define T1_FIELD_BOOL(_ident, _fname, _dict)
Definition: psaux.h:310
#define T1_FIELD_FIXED_1000(_ident, _fname, _dict)
Definition: psaux.h:319
#define T1_FIELD_NUM(_ident, _fname, _dict)
Definition: psaux.h:313
#define T1_FIELD_NUM_TABLE2(_ident, _fname, _fmax, _dict)
Definition: psaux.h:341
#define T1_FIELD_DICT_FONTDICT
Definition: psaux.h:264
#define T1_FIELD_FIXED(_ident, _fname, _dict)
Definition: psaux.h:316
#define T1_FIELD_DICT_PRIVATE
Definition: psaux.h:265
#define T1_FIELD_KEY(_ident, _fname, _dict)
Definition: psaux.h:326
#define T1_FIELD_BBOX(_ident, _fname, _dict)
Definition: psaux.h:329
#define T1_FIELD_NUM_TABLE(_ident, _fname, _fmax, _dict)
Definition: psaux.h:333
#define T1_FIELD_STRING(_ident, _fname, _dict)
Definition: psaux.h:323
weight
Definition: sortkey.c:157
#define T1_MAX_MM_DESIGNS
Definition: t1tables.h:276
T1_FIELD_DICT_FONTDICT T1_FIELD_DICT_FONTDICT T1_FIELD_DICT_FONTDICT T1_FIELD_DICT_FONTDICT fs_type
Definition: t1tokens.h:50
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE blue_shift
Definition: t1tokens.h:69
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
lenIV
Definition: t1tokens.h:60
T1_FIELD_DICT_FONTDICT family_name
Definition: t1tokens.h:30
notice
Definition: t1tokens.h:26
T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE T1_FIELD_DICT_PRIVATE blue_values
Definition: t1tokens.h:74
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 password
Definition: t1tokens.h:64
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_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 family_blues
Definition: t1tokens.h:78
T1_FIELD_DICT_FONTDICT T1_FIELD_DICT_FONTDICT T1_FIELD_DICT_FONTDICT underline_position
Definition: t1tokens.h:40
T1_FIELD_DICT_FONTDICT T1_FIELD_DICT_FONTDICT italic_angle
Definition: t1tokens.h:36
_In_ PSTRING FullName
Definition: rtlfuncs.h:1648