PageRenderTime 485ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/modules/freetype2/src/otvalid/otvalid.h

https://bitbucket.org/soko/mozilla-central
C++ Header | 78 lines | 37 code | 20 blank | 21 comment | 0 complexity | 685afc8bf8d71779db36e55121cb6456 MD5 | raw file
Possible License(s): GPL-2.0, JSON, 0BSD, LGPL-3.0, AGPL-1.0, MIT, MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.1, Apache-2.0
  1. /***************************************************************************/
  2. /* */
  3. /* otvalid.h */
  4. /* */
  5. /* OpenType table validation (specification only). */
  6. /* */
  7. /* Copyright 2004, 2008 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 __OTVALID_H__
  18. #define __OTVALID_H__
  19. #include <ft2build.h>
  20. #include FT_FREETYPE_H
  21. #include "otverror.h" /* must come before FT_INTERNAL_VALIDATE_H */
  22. #include FT_INTERNAL_VALIDATE_H
  23. #include FT_INTERNAL_STREAM_H
  24. FT_BEGIN_HEADER
  25. FT_LOCAL( void )
  26. otv_BASE_validate( FT_Bytes table,
  27. FT_Validator valid );
  28. /* GSUB and GPOS tables should already be validated; */
  29. /* if missing, set corresponding argument to 0 */
  30. FT_LOCAL( void )
  31. otv_GDEF_validate( FT_Bytes table,
  32. FT_Bytes gsub,
  33. FT_Bytes gpos,
  34. FT_UInt glyph_count,
  35. FT_Validator valid );
  36. FT_LOCAL( void )
  37. otv_GPOS_validate( FT_Bytes table,
  38. FT_UInt glyph_count,
  39. FT_Validator valid );
  40. FT_LOCAL( void )
  41. otv_GSUB_validate( FT_Bytes table,
  42. FT_UInt glyph_count,
  43. FT_Validator valid );
  44. /* GSUB and GPOS tables should already be validated; */
  45. /* if missing, set corresponding argument to 0 */
  46. FT_LOCAL( void )
  47. otv_JSTF_validate( FT_Bytes table,
  48. FT_Bytes gsub,
  49. FT_Bytes gpos,
  50. FT_UInt glyph_count,
  51. FT_Validator valid );
  52. FT_LOCAL( void )
  53. otv_MATH_validate( FT_Bytes table,
  54. FT_UInt glyph_count,
  55. FT_Validator ftvalid );
  56. FT_END_HEADER
  57. #endif /* __OTVALID_H__ */
  58. /* END */