1 /***************************************************************************/
5 /* Auxiliary functions for PostScript fonts (specification). */
7 /* Copyright 1996-2001 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
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. */
16 /***************************************************************************/
24 #include FT_INTERNAL_POSTSCRIPT_AUX_H
30 /*************************************************************************/
31 /*************************************************************************/
33 /***** T1_TABLE *****/
35 /*************************************************************************/
36 /*************************************************************************/
40 const PS_Table_Funcs ps_table_funcs;
43 const T1_Parser_Funcs t1_parser_funcs;
46 const T1_Builder_Funcs t1_builder_funcs;
50 PS_Table_New( PS_Table* table,
55 PS_Table_Add( PS_Table* table,
61 PS_Table_Done( PS_Table* table );
65 PS_Table_Release( PS_Table* table );
68 /*************************************************************************/
69 /*************************************************************************/
71 /***** T1 PARSER *****/
73 /*************************************************************************/
74 /*************************************************************************/
78 T1_Skip_Spaces( T1_Parser* parser );
81 T1_Skip_Alpha( T1_Parser* parser );
84 T1_ToToken( T1_Parser* parser,
88 T1_ToTokenArray( T1_Parser* parser,
91 FT_Int* pnum_tokens );
94 T1_Load_Field( T1_Parser* parser,
95 const T1_Field* field,
101 T1_Load_Field_Table( T1_Parser* parser,
102 const T1_Field* field,
108 T1_ToInt( T1_Parser* parser );
112 T1_ToFixed( T1_Parser* parser,
117 T1_ToCoordArray( T1_Parser* parser,
122 T1_ToFixedArray( T1_Parser* parser,
129 T1_Init_Parser( T1_Parser* parser,
135 T1_Done_Parser( T1_Parser* parser );
138 /*************************************************************************/
139 /*************************************************************************/
141 /***** T1 BUILDER *****/
143 /*************************************************************************/
144 /*************************************************************************/
147 T1_Builder_Init( T1_Builder* builder,
150 FT_GlyphSlot glyph );
153 T1_Builder_Done( T1_Builder* builder );
156 T1_Builder_Check_Points( T1_Builder* builder,
160 T1_Builder_Add_Point( T1_Builder* builder,
166 T1_Builder_Add_Point1( T1_Builder* builder,
171 T1_Builder_Add_Contour( T1_Builder* builder );
175 T1_Builder_Start_Point( T1_Builder* builder,
181 T1_Builder_Close_Contour( T1_Builder* builder );
184 /*************************************************************************/
185 /*************************************************************************/
189 /*************************************************************************/
190 /*************************************************************************/
193 T1_Decrypt( FT_Byte* buffer,
200 #endif /* __PSOBJS_H__ */