/modules/freetype2/src/psaux/t1decode.h

http://github.com/zpao/v8monkey · C Header · 64 lines · 29 code · 18 blank · 17 comment · 0 complexity · 04e5a145055841961d1eaa7f18a5d30d MD5 · raw file

  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. #ifndef __T1DECODE_H__
  18. #define __T1DECODE_H__
  19. #include <ft2build.h>
  20. #include FT_INTERNAL_POSTSCRIPT_AUX_H
  21. #include FT_INTERNAL_TYPE1_TYPES_H
  22. FT_BEGIN_HEADER
  23. FT_CALLBACK_TABLE
  24. const T1_Decoder_FuncsRec t1_decoder_funcs;
  25. FT_LOCAL( FT_Error )
  26. t1_decoder_parse_glyph( T1_Decoder decoder,
  27. FT_UInt glyph_index );
  28. FT_LOCAL( FT_Error )
  29. t1_decoder_parse_charstrings( T1_Decoder decoder,
  30. FT_Byte* base,
  31. FT_UInt len );
  32. FT_LOCAL( FT_Error )
  33. t1_decoder_init( T1_Decoder decoder,
  34. FT_Face face,
  35. FT_Size size,
  36. FT_GlyphSlot slot,
  37. FT_Byte** glyph_names,
  38. PS_Blend blend,
  39. FT_Bool hinting,
  40. FT_Render_Mode hint_mode,
  41. T1_Decoder_Callback parse_glyph );
  42. FT_LOCAL( void )
  43. t1_decoder_done( T1_Decoder decoder );
  44. FT_END_HEADER
  45. #endif /* __T1DECODE_H__ */
  46. /* END */