1/***************************************************************************/ 2/* */ 3/* t1decode.h */ 4/* */ 5/* PostScript Type 1 decoding routines (specification). */ 6/* */ 7/* Copyright 2000-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 __T1DECODE_H__ 20#define __T1DECODE_H__ 21 22 23#include "../../include/ft2build.h" 24#include "../../include/freetype/internal/psaux.h" 25#include "../../include/freetype/internal/t1types.h" 26 27 28FT_BEGIN_HEADER 29 30 31 FT_CALLBACK_TABLE 32 const T1_Decoder_FuncsRec t1_decoder_funcs; 33 34 35 FT_LOCAL( FT_Error ) 36 t1_decoder_parse_glyph( T1_Decoder decoder, 37 FT_UInt glyph_index ); 38 39 FT_LOCAL( FT_Error ) 40 t1_decoder_parse_charstrings( T1_Decoder decoder, 41 FT_Byte* base, 42 FT_UInt len ); 43 44 FT_LOCAL( FT_Error ) 45 t1_decoder_init( T1_Decoder decoder, 46 FT_Face face, 47 FT_Size size, 48 FT_GlyphSlot slot, 49 FT_Byte** glyph_names, 50 PS_Blend blend, 51 FT_Bool hinting, 52 FT_Render_Mode hint_mode, 53 T1_Decoder_Callback parse_glyph ); 54 55 FT_LOCAL( void ) 56 t1_decoder_done( T1_Decoder decoder ); 57 58 59FT_END_HEADER 60 61#endif /* __T1DECODE_H__ */ 62 63 64/* END */ 65