00001 /***************************************************************************/ 00002 /* */ 00003 /* svotval.h */ 00004 /* */ 00005 /* The FreeType OpenType validation service (specification). */ 00006 /* */ 00007 /* Copyright 2004, 2006 by */ 00008 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 00015 /* */ 00016 /***************************************************************************/ 00017 00018 00019 #ifndef __SVOTVAL_H__ 00020 #define __SVOTVAL_H__ 00021 00022 #include FT_OPENTYPE_VALIDATE_H 00023 #include FT_INTERNAL_VALIDATE_H 00024 00025 FT_BEGIN_HEADER 00026 00027 00028 #define FT_SERVICE_ID_OPENTYPE_VALIDATE "opentype-validate" 00029 00030 00031 typedef FT_Error 00032 (*otv_validate_func)( FT_Face volatile face, 00033 FT_UInt ot_flags, 00034 FT_Bytes *base, 00035 FT_Bytes *gdef, 00036 FT_Bytes *gpos, 00037 FT_Bytes *gsub, 00038 FT_Bytes *jstf ); 00039 00040 00041 FT_DEFINE_SERVICE( OTvalidate ) 00042 { 00043 otv_validate_func validate; 00044 }; 00045 00046 /* */ 00047 00048 00049 FT_END_HEADER 00050 00051 00052 #endif /* __SVOTVAL_H__ */ 00053 00054 00055 /* END */