/src/freetype/src/sfnt/ttmtx.h

https://bitbucket.org/cabalistic/ogredeps/ · C++ Header · 55 lines · 22 code · 16 blank · 17 comment · 0 complexity · 6474f64fc79a4f0601e3ee313a7ae30a MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* ttmtx.h */
  4. /* */
  5. /* Load the metrics tables common to TTF and OTF fonts (specification). */
  6. /* */
  7. /* Copyright 2006 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 __TTMTX_H__
  18. #define __TTMTX_H__
  19. #include <ft2build.h>
  20. #include FT_INTERNAL_STREAM_H
  21. #include FT_INTERNAL_TRUETYPE_TYPES_H
  22. FT_BEGIN_HEADER
  23. FT_LOCAL( FT_Error )
  24. tt_face_load_hhea( TT_Face face,
  25. FT_Stream stream,
  26. FT_Bool vertical );
  27. FT_LOCAL( FT_Error )
  28. tt_face_load_hmtx( TT_Face face,
  29. FT_Stream stream,
  30. FT_Bool vertical );
  31. FT_LOCAL( FT_Error )
  32. tt_face_get_metrics( TT_Face face,
  33. FT_Bool vertical,
  34. FT_UInt gindex,
  35. FT_Short* abearing,
  36. FT_UShort* aadvance );
  37. FT_END_HEADER
  38. #endif /* __TTMTX_H__ */
  39. /* END */