1 /***************************************************************************/
5 /* CFF token stream parser (specification) */
7 /* Copyright 1996-2001, 2002, 2003 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 /***************************************************************************/
19 #ifndef __CFF_PARSE_H__
20 #define __CFF_PARSE_H__
25 #include FT_INTERNAL_OBJECTS_H
31 #define CFF_MAX_STACK_DEPTH 96
33 #define CFF_CODE_TOPDICT 0x1000
34 #define CFF_CODE_PRIVATE 0x2000
37 typedef struct CFF_ParserRec_
43 FT_Byte
* stack
[CFF_MAX_STACK_DEPTH
+ 1];
49 } CFF_ParserRec
, *CFF_Parser
;
53 cff_parser_init( CFF_Parser parser
,
58 cff_parser_run( CFF_Parser parser
,
66 #endif /* __CFF_PARSE_H__ */