1 /***************************************************************************/
5 /* OpenType parser (specification). */
7 /* Copyright 1996-2000 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 /***************************************************************************/
22 #include <freetype/internal/t2types.h>
23 #include <freetype/internal/ftobjs.h>
25 #define T2_MAX_STACK_DEPTH 96
27 #define T2CODE_TOPDICT 0x1000
28 #define T2CODE_PRIVATE 0x2000
36 typedef struct T2_Parser_
42 FT_Byte* stack[T2_MAX_STACK_DEPTH + 1];
52 void T2_Parser_Init( T2_Parser* parser,
57 FT_Error T2_Parser_Run( T2_Parser* parser,
67 #endif /* T2PARSE_H */