/modules/freetype2/src/truetype/ttgload.h

http://github.com/zpao/v8monkey · C Header · 63 lines · 29 code · 17 blank · 17 comment · 0 complexity · e1c31927dda3664b4544dc6731333799 MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* ttgload.h */
  4. /* */
  5. /* TrueType Glyph Loader (specification). */
  6. /* */
  7. /* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2008 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 __TTGLOAD_H__
  18. #define __TTGLOAD_H__
  19. #include <ft2build.h>
  20. #include "ttobjs.h"
  21. #ifdef TT_USE_BYTECODE_INTERPRETER
  22. #include "ttinterp.h"
  23. #endif
  24. FT_BEGIN_HEADER
  25. FT_LOCAL( void )
  26. TT_Init_Glyph_Loading( TT_Face face );
  27. FT_LOCAL( void )
  28. TT_Get_HMetrics( TT_Face face,
  29. FT_UInt idx,
  30. FT_Bool check,
  31. FT_Short* lsb,
  32. FT_UShort* aw );
  33. FT_LOCAL( void )
  34. TT_Get_VMetrics( TT_Face face,
  35. FT_UInt idx,
  36. FT_Bool check,
  37. FT_Short* tsb,
  38. FT_UShort* ah );
  39. FT_LOCAL( FT_Error )
  40. TT_Load_Glyph( TT_Size size,
  41. TT_GlyphSlot glyph,
  42. FT_UInt glyph_index,
  43. FT_Int32 load_flags );
  44. FT_END_HEADER
  45. #endif /* __TTGLOAD_H__ */
  46. /* END */