| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* ftgasp.h */ | 3 /* ftgasp.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* Access of TrueType's `gasp' table (specification). */ | 5 /* Access of TrueType's `gasp' table (specification). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 2007, 2008, 2011 by */ | 7 /* Copyright 2007, 2008, 2011 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 | 18 |
| 19 #ifndef _FT_GASP_H_ | 19 #ifndef _FT_GASP_H_ |
| 20 #define _FT_GASP_H_ | 20 #define _FT_GASP_H_ |
| 21 | 21 |
| 22 #include "../ft2build.h" | 22 #include <ft2build.h> |
| 23 #include "freetype.h" | 23 #include FT_FREETYPE_H |
| 24 | 24 |
| 25 #ifdef FREETYPE_H | 25 #ifdef FREETYPE_H |
| 26 #error "freetype.h of FreeType 1 has been loaded!" | 26 #error "freetype.h of FreeType 1 has been loaded!" |
| 27 #error "Please fix the directory search order for header files" | 27 #error "Please fix the directory search order for header files" |
| 28 #error "so that freetype.h of FreeType 2 is found first." | 28 #error "so that freetype.h of FreeType 2 is found first." |
| 29 #endif | 29 #endif |
| 30 | 30 |
| 31 | 31 |
| 32 /*************************************************************************** | 32 /*************************************************************************** |
| 33 * | 33 * |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 * Bit flags (see @FT_GASP_XXX), or @FT_GASP_NO_TABLE if there is no | 113 * Bit flags (see @FT_GASP_XXX), or @FT_GASP_NO_TABLE if there is no |
| 114 * `gasp' table in the face. | 114 * `gasp' table in the face. |
| 115 * | 115 * |
| 116 * @since: | 116 * @since: |
| 117 * 2.3.0 | 117 * 2.3.0 |
| 118 */ | 118 */ |
| 119 FT_EXPORT( FT_Int ) | 119 FT_EXPORT( FT_Int ) |
| 120 FT_Get_Gasp( FT_Face face, | 120 FT_Get_Gasp( FT_Face face, |
| 121 FT_UInt ppem ); | 121 FT_UInt ppem ); |
| 122 | 122 |
| 123 /* */ | 123 /* */ |
| 124 |
| 124 | 125 |
| 125 #endif /* _FT_GASP_H_ */ | 126 #endif /* _FT_GASP_H_ */ |
| 126 | 127 |
| 127 | 128 |
| 128 /* END */ | 129 /* END */ |
| OLD | NEW |