source: trunk/poppler/freetype-2.1.10/src/type1/t1tokens.h @ 2

Last change on this file since 2 was 2, checked in by Eugene Romanenko, 15 years ago

First import

File size: 3.3 KB
Line 
1/***************************************************************************/
2/*                                                                         */
3/*  t1tokens.h                                                             */
4/*                                                                         */
5/*    Type 1 tokenizer (specification).                                    */
6/*                                                                         */
7/*  Copyright 1996-2001, 2002, 2003, 2004 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
24  T1_FIELD_STRING( "version", version )
25  T1_FIELD_STRING( "Notice", notice )
26  T1_FIELD_STRING( "FullName", full_name )
27  T1_FIELD_STRING( "FamilyName", family_name )
28  T1_FIELD_STRING( "Weight", weight )
29
30  /* we use pointers to detect modifications made by synthetic fonts */
31  T1_FIELD_NUM   ( "ItalicAngle", italic_angle )
32  T1_FIELD_BOOL  ( "isFixedPitch", is_fixed_pitch )
33  T1_FIELD_NUM   ( "UnderlinePosition", underline_position )
34  T1_FIELD_NUM   ( "UnderlineThickness", underline_thickness )
35
36
37#undef  FT_STRUCTURE
38#define FT_STRUCTURE  PS_PrivateRec
39#undef  T1CODE
40#define T1CODE        T1_FIELD_LOCATION_PRIVATE
41
42  T1_FIELD_NUM       ( "UniqueID", unique_id )
43  T1_FIELD_NUM       ( "lenIV", lenIV )
44  T1_FIELD_NUM       ( "LanguageGroup", language_group )
45  T1_FIELD_NUM       ( "password", password )
46
47  T1_FIELD_FIXED_1000( "BlueScale", blue_scale )
48  T1_FIELD_NUM       ( "BlueShift", blue_shift )
49  T1_FIELD_NUM       ( "BlueFuzz",  blue_fuzz )
50
51  T1_FIELD_NUM_TABLE ( "BlueValues", blue_values, 14 )
52  T1_FIELD_NUM_TABLE ( "OtherBlues", other_blues, 10 )
53  T1_FIELD_NUM_TABLE ( "FamilyBlues", family_blues, 14 )
54  T1_FIELD_NUM_TABLE ( "FamilyOtherBlues", family_other_blues, 10 )
55
56  T1_FIELD_NUM_TABLE2( "StdHW", standard_width,  1 )
57  T1_FIELD_NUM_TABLE2( "StdVW", standard_height, 1 )
58  T1_FIELD_NUM_TABLE2( "MinFeature", min_feature, 2 )
59
60  T1_FIELD_NUM_TABLE ( "StemSnapH", snap_widths, 12 )
61  T1_FIELD_NUM_TABLE ( "StemSnapV", snap_heights, 12 )
62
63  T1_FIELD_FIXED     ( "ExpansionFactor", expansion_factor )
64
65
66#undef  FT_STRUCTURE
67#define FT_STRUCTURE  T1_FontRec
68#undef  T1CODE
69#define T1CODE        T1_FIELD_LOCATION_FONT_DICT
70
71  T1_FIELD_KEY  ( "FontName", font_name )
72  T1_FIELD_NUM  ( "PaintType", paint_type )
73  T1_FIELD_NUM  ( "FontType", font_type )
74  T1_FIELD_FIXED( "StrokeWidth", stroke_width )
75
76#undef  FT_STRUCTURE
77#define FT_STRUCTURE  FT_BBox
78#undef  T1CODE
79#define T1CODE        T1_FIELD_LOCATION_BBOX
80
81  T1_FIELD_BBOX("FontBBox", xMin )
82
83
84/* END */
Note: See TracBrowser for help on using the repository browser.