/modules/freetype2/include/freetype/internal/services/svotval.h

http://github.com/zpao/v8monkey · C Header · 55 lines · 20 code · 17 blank · 18 comment · 0 complexity · 8ceb4c606784eaf0bf4d154d0b9c971d MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* svotval.h */
  4. /* */
  5. /* The FreeType OpenType validation service (specification). */
  6. /* */
  7. /* Copyright 2004, 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 __SVOTVAL_H__
  18. #define __SVOTVAL_H__
  19. #include FT_OPENTYPE_VALIDATE_H
  20. #include FT_INTERNAL_VALIDATE_H
  21. FT_BEGIN_HEADER
  22. #define FT_SERVICE_ID_OPENTYPE_VALIDATE "opentype-validate"
  23. typedef FT_Error
  24. (*otv_validate_func)( FT_Face volatile face,
  25. FT_UInt ot_flags,
  26. FT_Bytes *base,
  27. FT_Bytes *gdef,
  28. FT_Bytes *gpos,
  29. FT_Bytes *gsub,
  30. FT_Bytes *jstf );
  31. FT_DEFINE_SERVICE( OTvalidate )
  32. {
  33. otv_validate_func validate;
  34. };
  35. /* */
  36. FT_END_HEADER
  37. #endif /* __SVOTVAL_H__ */
  38. /* END */