/src/freetype/include/freetype/internal/services/svgxval.h

https://bitbucket.org/cabalistic/ogredeps/ · C++ Header · 72 lines · 26 code · 20 blank · 26 comment · 0 complexity · 4182431a859c4dd1c8072234eab2fafa MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* svgxval.h */
  4. /* */
  5. /* FreeType API for validating TrueTypeGX/AAT tables (specification). */
  6. /* */
  7. /* Copyright 2004, 2005 by */
  8. /* Masatake YAMATO, Red Hat K.K., */
  9. /* David Turner, Robert Wilhelm, and Werner Lemberg. */
  10. /* */
  11. /* This file is part of the FreeType project, and may only be used, */
  12. /* modified, and distributed under the terms of the FreeType project */
  13. /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
  14. /* this file you indicate that you have read the license and */
  15. /* understand and accept it fully. */
  16. /* */
  17. /***************************************************************************/
  18. /***************************************************************************/
  19. /* */
  20. /* gxvalid is derived from both gxlayout module and otvalid module. */
  21. /* Development of gxlayout is supported by the Information-technology */
  22. /* Promotion Agency(IPA), Japan. */
  23. /* */
  24. /***************************************************************************/
  25. #ifndef __SVGXVAL_H__
  26. #define __SVGXVAL_H__
  27. #include FT_GX_VALIDATE_H
  28. #include FT_INTERNAL_VALIDATE_H
  29. FT_BEGIN_HEADER
  30. #define FT_SERVICE_ID_GX_VALIDATE "truetypegx-validate"
  31. #define FT_SERVICE_ID_CLASSICKERN_VALIDATE "classickern-validate"
  32. typedef FT_Error
  33. (*gxv_validate_func)( FT_Face face,
  34. FT_UInt gx_flags,
  35. FT_Bytes tables[FT_VALIDATE_GX_LENGTH],
  36. FT_UInt table_length );
  37. typedef FT_Error
  38. (*ckern_validate_func)( FT_Face face,
  39. FT_UInt ckern_flags,
  40. FT_Bytes *ckern_table );
  41. FT_DEFINE_SERVICE( GXvalidate )
  42. {
  43. gxv_validate_func validate;
  44. };
  45. FT_DEFINE_SERVICE( CKERNvalidate )
  46. {
  47. ckern_validate_func validate;
  48. };
  49. /* */
  50. FT_END_HEADER
  51. #endif /* __SVGXVAL_H__ */
  52. /* END */