Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / modules / freetype2 / src / type1 / t1tokens.h
blob788c811b049202c9b9b43f97f92923f9dbac021e
1 /***************************************************************************/
2 /* */
3 /* t1tokens.h */
4 /* */
5 /* Type 1 tokenizer (specification). */
6 /* */
7 /* Copyright 1996-2001, 2002, 2003, 2004, 2006 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 PS_FontInfoRec
21 #undef T1CODE
22 #define T1CODE T1_FIELD_LOCATION_FONT_INFO
24 T1_FIELD_STRING( "version", version,
25 T1_FIELD_DICT_FONTDICT )
26 T1_FIELD_STRING( "Notice", notice,
27 T1_FIELD_DICT_FONTDICT )
28 T1_FIELD_STRING( "FullName", full_name,
29 T1_FIELD_DICT_FONTDICT )
30 T1_FIELD_STRING( "FamilyName", family_name,
31 T1_FIELD_DICT_FONTDICT )
32 T1_FIELD_STRING( "Weight", weight,
33 T1_FIELD_DICT_FONTDICT )
35 /* we use pointers to detect modifications made by synthetic fonts */
36 T1_FIELD_NUM ( "ItalicAngle", italic_angle,
37 T1_FIELD_DICT_FONTDICT )
38 T1_FIELD_BOOL ( "isFixedPitch", is_fixed_pitch,
39 T1_FIELD_DICT_FONTDICT )
40 T1_FIELD_NUM ( "UnderlinePosition", underline_position,
41 T1_FIELD_DICT_FONTDICT )
42 T1_FIELD_NUM ( "UnderlineThickness", underline_thickness,
43 T1_FIELD_DICT_FONTDICT )
46 #undef FT_STRUCTURE
47 #define FT_STRUCTURE PS_PrivateRec
48 #undef T1CODE
49 #define T1CODE T1_FIELD_LOCATION_PRIVATE
51 T1_FIELD_NUM ( "UniqueID", unique_id,
52 T1_FIELD_DICT_FONTDICT | T1_FIELD_DICT_PRIVATE )
53 T1_FIELD_NUM ( "lenIV", lenIV,
54 T1_FIELD_DICT_PRIVATE )
55 T1_FIELD_NUM ( "LanguageGroup", language_group,
56 T1_FIELD_DICT_PRIVATE )
57 T1_FIELD_NUM ( "password", password,
58 T1_FIELD_DICT_PRIVATE )
60 T1_FIELD_FIXED_1000( "BlueScale", blue_scale,
61 T1_FIELD_DICT_PRIVATE )
62 T1_FIELD_NUM ( "BlueShift", blue_shift,
63 T1_FIELD_DICT_PRIVATE )
64 T1_FIELD_NUM ( "BlueFuzz", blue_fuzz,
65 T1_FIELD_DICT_PRIVATE )
67 T1_FIELD_NUM_TABLE ( "BlueValues", blue_values, 14,
68 T1_FIELD_DICT_PRIVATE )
69 T1_FIELD_NUM_TABLE ( "OtherBlues", other_blues, 10,
70 T1_FIELD_DICT_PRIVATE )
71 T1_FIELD_NUM_TABLE ( "FamilyBlues", family_blues, 14,
72 T1_FIELD_DICT_PRIVATE )
73 T1_FIELD_NUM_TABLE ( "FamilyOtherBlues", family_other_blues, 10,
74 T1_FIELD_DICT_PRIVATE )
76 T1_FIELD_NUM_TABLE2( "StdHW", standard_width, 1,
77 T1_FIELD_DICT_PRIVATE )
78 T1_FIELD_NUM_TABLE2( "StdVW", standard_height, 1,
79 T1_FIELD_DICT_PRIVATE )
80 T1_FIELD_NUM_TABLE2( "MinFeature", min_feature, 2,
81 T1_FIELD_DICT_PRIVATE )
83 T1_FIELD_NUM_TABLE ( "StemSnapH", snap_widths, 12,
84 T1_FIELD_DICT_PRIVATE )
85 T1_FIELD_NUM_TABLE ( "StemSnapV", snap_heights, 12,
86 T1_FIELD_DICT_PRIVATE )
88 T1_FIELD_FIXED ( "ExpansionFactor", expansion_factor,
89 T1_FIELD_DICT_PRIVATE )
92 #undef FT_STRUCTURE
93 #define FT_STRUCTURE T1_FontRec
94 #undef T1CODE
95 #define T1CODE T1_FIELD_LOCATION_FONT_DICT
97 T1_FIELD_KEY ( "FontName", font_name, T1_FIELD_DICT_FONTDICT )
98 T1_FIELD_NUM ( "PaintType", paint_type, T1_FIELD_DICT_FONTDICT )
99 T1_FIELD_NUM ( "FontType", font_type, T1_FIELD_DICT_FONTDICT )
100 T1_FIELD_FIXED( "StrokeWidth", stroke_width, T1_FIELD_DICT_FONTDICT )
103 #undef FT_STRUCTURE
104 #define FT_STRUCTURE FT_BBox
105 #undef T1CODE
106 #define T1CODE T1_FIELD_LOCATION_BBOX
108 T1_FIELD_BBOX( "FontBBox", xMin, T1_FIELD_DICT_FONTDICT )
111 #ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
113 #undef FT_STRUCTURE
114 #define FT_STRUCTURE T1_FaceRec
115 #undef T1CODE
116 #define T1CODE T1_FIELD_LOCATION_FACE
118 T1_FIELD_NUM( "NDV", ndv_idx, T1_FIELD_DICT_PRIVATE )
119 T1_FIELD_NUM( "CDV", cdv_idx, T1_FIELD_DICT_PRIVATE )
122 #undef FT_STRUCTURE
123 #define FT_STRUCTURE PS_BlendRec
124 #undef T1CODE
125 #define T1CODE T1_FIELD_LOCATION_BLEND
127 T1_FIELD_NUM_TABLE( "DesignVector", default_design_vector,
128 T1_MAX_MM_DESIGNS, T1_FIELD_DICT_FONTDICT )
131 #endif /* T1_CONFIG_OPTION_NO_MM_SUPPORT */
134 /* END */