/src/freetype/src/type1/t1afm.h

https://bitbucket.org/cabalistic/ogredeps/ · C++ Header · 54 lines · 24 code · 13 blank · 17 comment · 0 complexity · aa4751abab8ce86a436c528f047c89f0 MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* t1afm.h */
  4. /* */
  5. /* AFM support for Type 1 fonts (specification). */
  6. /* */
  7. /* Copyright 1996-2001, 2002, 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 __T1AFM_H__
  18. #define __T1AFM_H__
  19. #include <ft2build.h>
  20. #include "t1objs.h"
  21. #include FT_INTERNAL_TYPE1_TYPES_H
  22. FT_BEGIN_HEADER
  23. FT_LOCAL( FT_Error )
  24. T1_Read_Metrics( FT_Face face,
  25. FT_Stream stream );
  26. FT_LOCAL( void )
  27. T1_Done_Metrics( FT_Memory memory,
  28. AFM_FontInfo fi );
  29. FT_LOCAL( void )
  30. T1_Get_Kerning( AFM_FontInfo fi,
  31. FT_UInt glyph1,
  32. FT_UInt glyph2,
  33. FT_Vector* kerning );
  34. FT_LOCAL( FT_Error )
  35. T1_Get_Track_Kerning( FT_Face face,
  36. FT_Fixed ptsize,
  37. FT_Int degree,
  38. FT_Fixed* kerning );
  39. FT_END_HEADER
  40. #endif /* __T1AFM_H__ */
  41. /* END */