763fb2efbed33ad59957f6493fef9120eac68fbf
[platform/upstream/freetype2.git] / include / freetype / internal / services / svotval.h
1 /****************************************************************************
2  *
3  * svotval.h
4  *
5  *   The FreeType OpenType validation service (specification).
6  *
7  * Copyright (C) 2004-2020 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 <freetype/ftotval.h>
23 #include <freetype/internal/ftvalid.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 */