XFA: merge patch from CL 815103002
[pdfium.git] / third_party / freetype / include / internal / services / svotval.h
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
18
19 #ifndef __SVOTVAL_H__
20 #define __SVOTVAL_H__
21
22 #include FT_OPENTYPE_VALIDATE_H
23 #include FT_INTERNAL_VALIDATE_H
24
25 FT_BEGIN_HEADER
26
27
28 #define FT_SERVICE_ID_OPENTYPE_VALIDATE  "opentype-validate"
29
30
31   typedef FT_Error
32   (*otv_validate_func)( FT_Face volatile  face,
33                         FT_UInt           ot_flags,
34                         FT_Bytes         *base,
35                         FT_Bytes         *gdef,
36                         FT_Bytes         *gpos,
37                         FT_Bytes         *gsub,
38                         FT_Bytes         *jstf );
39
40
41   FT_DEFINE_SERVICE( OTvalidate )
42   {
43     otv_validate_func  validate;
44   };
45
46   /* */
47
48
49 FT_END_HEADER
50
51
52 #endif /* __SVOTVAL_H__ */
53
54
55 /* END */