otvalid.h

Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  otvalid.h                                                              */
00004 /*                                                                         */
00005 /*    OpenType table validation (specification only).                      */
00006 /*                                                                         */
00007 /*  Copyright 2004, 2008 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 __OTVALID_H__
00020 #define __OTVALID_H__
00021 
00022 
00023 #include <ft2build.h>
00024 #include FT_FREETYPE_H
00025 
00026 #include "otverror.h"           /* must come before FT_INTERNAL_VALIDATE_H */
00027 
00028 #include FT_INTERNAL_VALIDATE_H
00029 #include FT_INTERNAL_STREAM_H
00030 
00031 
00032 FT_BEGIN_HEADER
00033 
00034 
00035   FT_LOCAL( void )
00036   otv_BASE_validate( FT_Bytes      table,
00037                      FT_Validator  valid );
00038 
00039   /* GSUB and GPOS tables should already be validated; */
00040   /* if missing, set corresponding argument to 0       */
00041   FT_LOCAL( void )
00042   otv_GDEF_validate( FT_Bytes      table,
00043                      FT_Bytes      gsub,
00044                      FT_Bytes      gpos,
00045                      FT_UInt       glyph_count,
00046                      FT_Validator  valid );
00047 
00048   FT_LOCAL( void )
00049   otv_GPOS_validate( FT_Bytes      table,
00050                      FT_UInt       glyph_count,
00051                      FT_Validator  valid );
00052 
00053   FT_LOCAL( void )
00054   otv_GSUB_validate( FT_Bytes      table,
00055                      FT_UInt       glyph_count,
00056                      FT_Validator  valid );
00057 
00058   /* GSUB and GPOS tables should already be validated; */
00059   /* if missing, set corresponding argument to 0       */
00060   FT_LOCAL( void )
00061   otv_JSTF_validate( FT_Bytes      table,
00062                      FT_Bytes      gsub,
00063                      FT_Bytes      gpos,
00064                      FT_UInt       glyph_count,
00065                      FT_Validator  valid );
00066 
00067   FT_LOCAL( void )
00068   otv_MATH_validate( FT_Bytes      table,
00069                      FT_UInt       glyph_count,
00070                      FT_Validator  ftvalid );
00071 
00072 
00073 FT_END_HEADER
00074 
00075 #endif /* __OTVALID_H__ */
00076 
00077 
00078 /* END */

Generated on Tue Jul 5 14:13:48 2011 for ROOT_528-00b_version by  doxygen 1.5.1