1
0

svkern.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /***************************************************************************/
  2. /* */
  3. /* svkern.h */
  4. /* */
  5. /* The FreeType Kerning service (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 __SVKERN_H__
  18. #define __SVKERN_H__
  19. #include FT_INTERNAL_SERVICE_H
  20. #include FT_TRUETYPE_TABLES_H
  21. FT_BEGIN_HEADER
  22. #define FT_SERVICE_ID_KERNING "kerning"
  23. typedef FT_Error
  24. (*FT_Kerning_TrackGetFunc)( FT_Face face,
  25. FT_Fixed point_size,
  26. FT_Int degree,
  27. FT_Fixed* akerning );
  28. FT_DEFINE_SERVICE( Kerning )
  29. {
  30. FT_Kerning_TrackGetFunc get_track;
  31. };
  32. /* */
  33. FT_END_HEADER
  34. #endif /* __SVKERN_H__ */
  35. /* END */