1 /***************************************************************************/
2 /* */
3 /* t1decode.h */
4 /* */
5 /* PostScript Type 1 decoding routines (specification). */
6 /* */
7 /* Copyright 2000-2001 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 /***************************************************************************/
19 #ifndef __T1DECODE_H__
20 #define __T1DECODE_H__
23 #include <ft2build.h>
24 #include FT_INTERNAL_POSTSCRIPT_AUX_H
25 #include FT_INTERNAL_POSTSCRIPT_NAMES_H
26 #include FT_INTERNAL_TYPE1_TYPES_H
29 FT_BEGIN_HEADER
32 FT_CALLBACK_TABLE
33 const T1_Decoder_Funcs t1_decoder_funcs;
36 FT_LOCAL FT_Error
37 T1_Decoder_Parse_Glyph( T1_Decoder* decoder,
38 FT_UInt glyph_index );
40 FT_LOCAL FT_Error
41 T1_Decoder_Parse_Charstrings( T1_Decoder* decoder,
42 FT_Byte* base,
43 FT_UInt len );
45 FT_LOCAL FT_Error
46 T1_Decoder_Init( T1_Decoder* decoder,
47 FT_Face face,
48 FT_Size size,
49 FT_GlyphSlot slot,
50 FT_Byte** glyph_names,
51 T1_Blend* blend,
52 T1_Decoder_Callback parse_glyph );
54 FT_LOCAL void
55 T1_Decoder_Done( T1_Decoder* decoder );
58 FT_END_HEADER
60 #endif /* __T1DECODE_H__ */
63 /* END */