zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
psobjs.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* psobjs.h */
4 /* */
5 /* Auxiliary functions for PostScript fonts (specification). */
6 /* */
7 /* Copyright 1996-2001, 2002, 2003 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 #ifndef __PSOBJS_H__
20 #define __PSOBJS_H__
21 
22 
23 #include <ft2build.h>
24 #include FT_INTERNAL_POSTSCRIPT_AUX_H
25 
26 
28 
29 
30  /*************************************************************************/
31  /*************************************************************************/
32  /***** *****/
33  /***** T1_TABLE *****/
34  /***** *****/
35  /*************************************************************************/
36  /*************************************************************************/
37 
38 
41 
44 
47 
48 
51  FT_Int count,
52  FT_Memory memory );
53 
55  ps_table_add( PS_Table table,
56  FT_Int idx,
57  void* object,
59 
60  FT_LOCAL( void )
61  ps_table_done( PS_Table table );
62 
63 
64  FT_LOCAL( void )
65  ps_table_release( PS_Table table );
66 
67 
68  /*************************************************************************/
69  /*************************************************************************/
70  /***** *****/
71  /***** T1 PARSER *****/
72  /***** *****/
73  /*************************************************************************/
74  /*************************************************************************/
75 
76 
77  FT_LOCAL( void )
79 
80  FT_LOCAL( void )
82 
83  FT_LOCAL( void )
85  T1_Token token );
86 
87  FT_LOCAL( void )
89  T1_Token tokens,
90  FT_UInt max_tokens,
91  FT_Int* pnum_tokens );
92 
95  const T1_Field field,
96  void** objects,
97  FT_UInt max_objects,
98  FT_ULong* pflags );
99 
100  FT_LOCAL( FT_Error )
102  const T1_Field field,
103  void** objects,
104  FT_UInt max_objects,
105  FT_ULong* pflags );
106 
107  FT_LOCAL( FT_Long )
108  ps_parser_to_int( PS_Parser parser );
109 
110 
111  FT_LOCAL( FT_Error )
113  FT_Byte* bytes,
114  FT_Offset max_bytes,
115  FT_Long* pnum_bytes,
116  FT_Bool delimiters );
117 
118 
119  FT_LOCAL( FT_Fixed )
121  FT_Int power_ten );
122 
123 
124  FT_LOCAL( FT_Int )
126  FT_Int max_coords,
127  FT_Short* coords );
128 
129  FT_LOCAL( FT_Int )
131  FT_Int max_values,
132  FT_Fixed* values,
133  FT_Int power_ten );
134 
135 
136  FT_LOCAL( void )
137  ps_parser_init( PS_Parser parser,
138  FT_Byte* base,
139  FT_Byte* limit,
140  FT_Memory memory );
141 
142  FT_LOCAL( void )
143  ps_parser_done( PS_Parser parser );
144 
145 
146  /*************************************************************************/
147  /*************************************************************************/
148  /***** *****/
149  /***** T1 BUILDER *****/
150  /***** *****/
151  /*************************************************************************/
152  /*************************************************************************/
153 
154  FT_LOCAL( void )
155  t1_builder_init( T1_Builder builder,
156  FT_Face face,
157  FT_Size size,
158  FT_GlyphSlot glyph,
159  FT_Bool hinting );
160 
161  FT_LOCAL( void )
162  t1_builder_done( T1_Builder builder );
163 
164  FT_LOCAL( FT_Error )
166  FT_Int count );
167 
168  FT_LOCAL( void )
170  FT_Pos x,
171  FT_Pos y,
172  FT_Byte flag );
173 
174  FT_LOCAL( FT_Error )
176  FT_Pos x,
177  FT_Pos y );
178 
179  FT_LOCAL( FT_Error )
181 
182 
183  FT_LOCAL( FT_Error )
185  FT_Pos x,
186  FT_Pos y );
187 
188 
189  FT_LOCAL( void )
191 
192 
193  /*************************************************************************/
194  /*************************************************************************/
195  /***** *****/
196  /***** OTHER *****/
197  /***** *****/
198  /*************************************************************************/
199  /*************************************************************************/
200 
201  FT_LOCAL( void )
203  FT_Offset length,
204  FT_UShort seed );
205 
206 
208 
209 #endif /* __PSOBJS_H__ */
210 
211 
212 /* END */
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition: glew.h:4422
int FT_Error
Definition: fttypes.h:296
ft_ptrdiff_t FT_PtrDist
Definition: fttypes.h:333
signed long FT_Long
Definition: fttypes.h:238
unsigned long FT_ULong
Definition: fttypes.h:249
FT_BEGIN_HEADER typedef signed long FT_Pos
Definition: ftimage.h:59
t1_builder_done(T1_Builder builder)
Definition: psobjs.c:1523
t1_builder_add_point1(T1_Builder builder, FT_Pos x, FT_Pos y)
Definition: psobjs.c:1568
#define FT_CALLBACK_TABLE
Definition: ftconfig.h:563
#define FT_END_HEADER
Definition: ftheader.h:54
signed int FT_Int
Definition: fttypes.h:216
ps_parser_load_field_table(PS_Parser parser, const T1_Field field, void **objects, FT_UInt max_objects, FT_ULong *pflags)
Definition: psobjs.c:1239
t1_builder_start_point(T1_Builder builder, FT_Pos x, FT_Pos y)
Definition: psobjs.c:1620
ps_parser_done(PS_Parser parser)
Definition: psobjs.c:1432
EGLSurface EGLint x
Definition: eglext.h:293
GLenum GLuint coords
Definition: glew.h:7189
ps_parser_to_fixed(PS_Parser parser, FT_Int power_ten)
Definition: psobjs.c:1367
ps_parser_skip_PS_token(PS_Parser parser)
Definition: psobjs.c:514
ps_parser_to_fixed_array(PS_Parser parser, FT_Int max_values, FT_Fixed *values, FT_Int power_ten)
Definition: psobjs.c:1387
ps_parser_to_token(PS_Parser parser, T1_Token token)
Definition: psobjs.c:619
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:104
ps_table_new(PS_Table table, FT_Int count, FT_Memory memory)
Definition: psobjs.c:69
FT_CALLBACK_TABLE_DEF const T1_Builder_FuncsRec t1_builder_funcs
Definition: psauxmod.c:60
ps_table_add(PS_Table table, FT_Int idx, void *object, FT_PtrDist length)
Definition: psobjs.c:168
unsigned char FT_Byte
Definition: fttypes.h:150
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_CALLBACK_TABLE_DEF const PS_Parser_FuncsRec ps_parser_funcs
Definition: psauxmod.c:41
#define FT_LOCAL(x)
Definition: ftconfig.h:466
EGLContext EGLenum EGLClientBuffer buffer
Definition: eglext.h:87
ps_parser_skip_spaces(PS_Parser parser)
Definition: psobjs.c:609
ps_table_release(PS_Table table)
Definition: psobjs.c:264
FT_UInt idx
Definition: cffcmap.c:125
GLsizei GLsizei * length
Definition: gl2ext.h:792
ps_parser_load_field(PS_Parser parser, const T1_Field field, void **objects, FT_UInt max_objects, FT_ULong *pflags)
Definition: psobjs.c:1024
ps_parser_to_int(PS_Parser parser)
Definition: psobjs.c:1304
GLint GLsizei count
Definition: gl2ext.h:1011
GLenum face
Definition: gl2ext.h:1490
GLint limit
Definition: glew.h:11829
ps_table_done(PS_Table table)
Definition: psobjs.c:240
t1_builder_close_contour(T1_Builder builder)
Definition: psobjs.c:1645
signed short FT_Short
Definition: fttypes.h:194
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
Definition: ftsystem.h:66
EGLSurface EGLint EGLint y
Definition: eglext.h:293
t1_decrypt(FT_Byte *buffer, FT_Offset length, FT_UShort seed)
Definition: psobjs.c:1698
typedefFT_BEGIN_HEADER struct PS_TableRec_ * PS_Table
Definition: psaux.h:42
#define const
Definition: zconf.h:91
signed long FT_Fixed
Definition: fttypes.h:284
ps_parser_to_bytes(PS_Parser parser, FT_Byte *bytes, FT_Offset max_bytes, FT_Long *pnum_bytes, FT_Bool delimiters)
Definition: psobjs.c:1314
ps_parser_to_coord_array(PS_Parser parser, FT_Int max_coords, FT_Short *coords)
Definition: psobjs.c:1376
unsigned int FT_UInt
Definition: fttypes.h:227
t1_builder_add_point(T1_Builder builder, FT_Pos x, FT_Pos y, FT_Byte flag)
Definition: psobjs.c:1544
ps_parser_init(PS_Parser parser, FT_Byte *base, FT_Byte *limit, FT_Memory memory)
Definition: psobjs.c:1417
t1_builder_add_contour(T1_Builder builder)
Definition: psobjs.c:1585
t1_builder_init(T1_Builder builder, FT_Face face, FT_Size size, FT_GlyphSlot glyph, FT_Bool hinting)
Definition: psobjs.c:1467
unsigned short FT_UShort
Definition: fttypes.h:205
ps_parser_to_token_array(PS_Parser parser, T1_Token tokens, FT_UInt max_tokens, FT_Int *pnum_tokens)
Definition: psobjs.c:722
t1_builder_check_points(T1_Builder builder, FT_Int count)
Definition: psobjs.c:1535
GLint GLsizei const GLuint64 * values
Definition: glew.h:3473
size_t FT_Offset
Definition: fttypes.h:320
FT_CALLBACK_TABLE_DEF const PS_Table_FuncsRec ps_table_funcs
Definition: psauxmod.c:31
GLsizei size
Definition: gl2ext.h:1467