| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* ftotval.c */ | 3 /* ftotval.c */ |
| 4 /* */ | 4 /* */ |
| 5 /* FreeType API for validating OpenType tables (body). */ | 5 /* FreeType API for validating OpenType tables (body). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 2004, 2006, 2008, 2010, 2013 by */ | 7 /* Copyright 2004, 2006, 2008, 2010, 2013 by */ |
| 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
| 9 /* */ | 9 /* */ |
| 10 /* This file is part of the FreeType project, and may only be used, */ | 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 */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
| 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
| 13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
| 14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
| 15 /* */ | 15 /* */ |
| 16 /***************************************************************************/ | 16 /***************************************************************************/ |
| 17 | 17 |
| 18 #include "../../include/ft2build.h" | 18 #include <ft2build.h> |
| 19 #include "../../include/freetype/internal/ftdebug.h" | 19 #include FT_INTERNAL_DEBUG_H |
| 20 | 20 |
| 21 #include "../../include/freetype/internal/ftobjs.h" | 21 #include FT_INTERNAL_OBJECTS_H |
| 22 #include "../../include/freetype/internal/services/svotval.h" | 22 #include FT_SERVICE_OPENTYPE_VALIDATE_H |
| 23 #include "../../include/freetype/ftotval.h" | 23 #include FT_OPENTYPE_VALIDATE_H |
| 24 | 24 |
| 25 | 25 |
| 26 /* documentation is in ftotval.h */ | 26 /* documentation is in ftotval.h */ |
| 27 | 27 |
| 28 FT_EXPORT_DEF( FT_Error ) | 28 FT_EXPORT_DEF( FT_Error ) |
| 29 FT_OpenType_Validate( FT_Face face, | 29 FT_OpenType_Validate( FT_Face face, |
| 30 FT_UInt validation_flags, | 30 FT_UInt validation_flags, |
| 31 FT_Bytes *BASE_table, | 31 FT_Bytes *BASE_table, |
| 32 FT_Bytes *GDEF_table, | 32 FT_Bytes *GDEF_table, |
| 33 FT_Bytes *GPOS_table, | 33 FT_Bytes *GPOS_table, |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 if ( !face ) | 82 if ( !face ) |
| 83 return; | 83 return; |
| 84 | 84 |
| 85 memory = FT_FACE_MEMORY( face ); | 85 memory = FT_FACE_MEMORY( face ); |
| 86 | 86 |
| 87 FT_FREE( table ); | 87 FT_FREE( table ); |
| 88 } | 88 } |
| 89 | 89 |
| 90 | 90 |
| 91 /* END */ | 91 /* END */ |
| OLD | NEW |