vrshoot

view libs/ft2static/freetype/internal/services/svgxval.h @ 0:b2f14e535253

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 01 Feb 2014 19:58:19 +0200
parents
children
line source
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 /***************************************************************************/
19 /***************************************************************************/
20 /* */
21 /* gxvalid is derived from both gxlayout module and otvalid module. */
22 /* Development of gxlayout is supported by the Information-technology */
23 /* Promotion Agency(IPA), Japan. */
24 /* */
25 /***************************************************************************/
28 #ifndef __SVGXVAL_H__
29 #define __SVGXVAL_H__
31 #include FT_GX_VALIDATE_H
32 #include FT_INTERNAL_VALIDATE_H
34 FT_BEGIN_HEADER
37 #define FT_SERVICE_ID_GX_VALIDATE "truetypegx-validate"
38 #define FT_SERVICE_ID_CLASSICKERN_VALIDATE "classickern-validate"
40 typedef FT_Error
41 (*gxv_validate_func)( FT_Face face,
42 FT_UInt gx_flags,
43 FT_Bytes tables[FT_VALIDATE_GX_LENGTH],
44 FT_UInt table_length );
47 typedef FT_Error
48 (*ckern_validate_func)( FT_Face face,
49 FT_UInt ckern_flags,
50 FT_Bytes *ckern_table );
53 FT_DEFINE_SERVICE( GXvalidate )
54 {
55 gxv_validate_func validate;
56 };
58 FT_DEFINE_SERVICE( CKERNvalidate )
59 {
60 ckern_validate_func validate;
61 };
63 /* */
66 FT_END_HEADER
69 #endif /* __SVGXVAL_H__ */
72 /* END */