ttgload.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /***************************************************************************/
  2. /* */
  3. /* ttgload.h */
  4. /* */
  5. /* TrueType Glyph Loader (specification). */
  6. /* */
  7. /* Copyright 1996-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. #ifndef __TTGLOAD_H__
  18. #define __TTGLOAD_H__
  19. #include <ft2build.h>
  20. #include "ttobjs.h"
  21. #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
  22. #include "ttinterp.h"
  23. #endif
  24. FT_BEGIN_HEADER
  25. FT_LOCAL( void )
  26. TT_Get_Metrics( TT_HoriHeader* header,
  27. FT_UInt index,
  28. FT_Short* bearing,
  29. FT_UShort* advance );
  30. FT_LOCAL( void )
  31. TT_Init_Glyph_Loading( TT_Face face );
  32. FT_LOCAL( FT_Error )
  33. TT_Load_Glyph( TT_Size size,
  34. TT_GlyphSlot glyph,
  35. FT_UShort glyph_index,
  36. FT_Int32 load_flags );
  37. FT_END_HEADER
  38. #endif /* __TTGLOAD_H__ */
  39. /* END */