00001 /***************************************************************************/ 00002 /* */ 00003 /* svgxval.h */ 00004 /* */ 00005 /* FreeType API for validating TrueTypeGX/AAT tables (specification). */ 00006 /* */ 00007 /* Copyright 2004, 2005 by */ 00008 /* Masatake YAMATO, Red Hat K.K., */ 00009 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00010 /* */ 00011 /* This file is part of the FreeType project, and may only be used, */ 00012 /* modified, and distributed under the terms of the FreeType project */ 00013 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00014 /* this file you indicate that you have read the license and */ 00015 /* understand and accept it fully. */ 00016 /* */ 00017 /***************************************************************************/ 00018 00019 /***************************************************************************/ 00020 /* */ 00021 /* gxvalid is derived from both gxlayout module and otvalid module. */ 00022 /* Development of gxlayout is supported by the Information-technology */ 00023 /* Promotion Agency(IPA), Japan. */ 00024 /* */ 00025 /***************************************************************************/ 00026 00027 00028 #ifndef __SVGXVAL_H__ 00029 #define __SVGXVAL_H__ 00030 00031 #include FT_GX_VALIDATE_H 00032 #include FT_INTERNAL_VALIDATE_H 00033 00034 FT_BEGIN_HEADER 00035 00036 00037 #define FT_SERVICE_ID_GX_VALIDATE "truetypegx-validate" 00038 #define FT_SERVICE_ID_CLASSICKERN_VALIDATE "classickern-validate" 00039 00040 typedef FT_Error 00041 (*gxv_validate_func)( FT_Face face, 00042 FT_UInt gx_flags, 00043 FT_Bytes tables[FT_VALIDATE_GX_LENGTH], 00044 FT_UInt table_length ); 00045 00046 00047 typedef FT_Error 00048 (*ckern_validate_func)( FT_Face face, 00049 FT_UInt ckern_flags, 00050 FT_Bytes *ckern_table ); 00051 00052 00053 FT_DEFINE_SERVICE( GXvalidate ) 00054 { 00055 gxv_validate_func validate; 00056 }; 00057 00058 FT_DEFINE_SERVICE( CKERNvalidate ) 00059 { 00060 ckern_validate_func validate; 00061 }; 00062 00063 /* */ 00064 00065 00066 FT_END_HEADER 00067 00068 00069 #endif /* __SVGXVAL_H__ */ 00070 00071 00072 /* END */