1 /***************************************************************************/ 2 /* */ 3 /* t1decode.h */ 4 /* */ 5 /* PostScript Type 1 decoding routines (specification). */ 6 /* */ 7 /* Copyright 2000-2001, 2002 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 __T1DECODE_H__ 20 #define __T1DECODE_H__ 21 22 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 27 28 29 FT_BEGIN_HEADER 30 31 32 FT_CALLBACK_TABLE 33 const T1_Decoder_FuncsRec t1_decoder_funcs; 34 35 36 FT_LOCAL( FT_Error ) 37 t1_decoder_parse_glyph( T1_Decoder decoder, 38 FT_UInt glyph_index ); 39 40 FT_LOCAL( FT_Error ) 41 t1_decoder_parse_charstrings( T1_Decoder decoder, 42 FT_Byte* base, 43 FT_UInt len ); 44 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 PS_Blend blend, 52 FT_Bool hinting, 53 FT_Render_Mode hint_mode, 54 T1_Decoder_Callback parse_glyph ); 55 56 FT_LOCAL( void ) 57 t1_decoder_done( T1_Decoder decoder ); 58 59 60 FT_END_HEADER 61 62 #endif /* __T1DECODE_H__ */ 63 64 65 /* END */ 66