| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* ttunpat.h */ | 3 /* ttunpat.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* Definitions for the unpatented TrueType hinting system */ | 5 /* Definitions for the unpatented TrueType hinting system */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 2003, 2006 by */ | 7 /* Copyright 2003, 2006 by */ |
| 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
| 9 /* */ | 9 /* */ |
| 10 /* Written by Graham Asher <graham.asher@btinternet.com> */ | 10 /* Written by Graham Asher <graham.asher@btinternet.com> */ |
| 11 /* */ | 11 /* */ |
| 12 /* This file is part of the FreeType project, and may only be used, */ | 12 /* This file is part of the FreeType project, and may only be used, */ |
| 13 /* modified, and distributed under the terms of the FreeType project */ | 13 /* modified, and distributed under the terms of the FreeType project */ |
| 14 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 14 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
| 15 /* this file you indicate that you have read the license and */ | 15 /* this file you indicate that you have read the license and */ |
| 16 /* understand and accept it fully. */ | 16 /* understand and accept it fully. */ |
| 17 /* */ | 17 /* */ |
| 18 /***************************************************************************/ | 18 /***************************************************************************/ |
| 19 | 19 |
| 20 | 20 |
| 21 #ifndef __TTUNPAT_H__ | 21 #ifndef __TTUNPAT_H__ |
| 22 #define __TTUNPAT_H__ | 22 #define __TTUNPAT_H__ |
| 23 | 23 |
| 24 | 24 |
| 25 #include "../ft2build.h" | 25 #include <ft2build.h> |
| 26 #include "freetype.h" | 26 #include FT_FREETYPE_H |
| 27 | 27 |
| 28 #ifdef FREETYPE_H | 28 #ifdef FREETYPE_H |
| 29 #error "freetype.h of FreeType 1 has been loaded!" | 29 #error "freetype.h of FreeType 1 has been loaded!" |
| 30 #error "Please fix the directory search order for header files" | 30 #error "Please fix the directory search order for header files" |
| 31 #error "so that freetype.h of FreeType 2 is found first." | 31 #error "so that freetype.h of FreeType 2 is found first." |
| 32 #endif | 32 #endif |
| 33 | 33 |
| 34 | 34 |
| 35 FT_BEGIN_HEADER | 35 FT_BEGIN_HEADER |
| 36 | 36 |
| 37 | 37 |
| 38 /*************************************************************************** | 38 /*************************************************************************** |
| 39 * | 39 * |
| 40 * @constant: | 40 * @constant: |
| 41 * FT_PARAM_TAG_UNPATENTED_HINTING | 41 * FT_PARAM_TAG_UNPATENTED_HINTING |
| 42 * | 42 * |
| 43 * @description: | 43 * @description: |
| 44 * A constant used as the tag of an @FT_Parameter structure to indicate | 44 * A constant used as the tag of an @FT_Parameter structure to indicate |
| 45 * that unpatented methods only should be used by the TrueType bytecode | 45 * that unpatented methods only should be used by the TrueType bytecode |
| 46 * interpreter for a typeface opened by @FT_Open_Face. | 46 * interpreter for a typeface opened by @FT_Open_Face. |
| 47 * | 47 * |
| 48 */ | 48 */ |
| 49 #define FT_PARAM_TAG_UNPATENTED_HINTING FT_MAKE_TAG( 'u', 'n', 'p', 'a' ) | 49 #define FT_PARAM_TAG_UNPATENTED_HINTING FT_MAKE_TAG( 'u', 'n', 'p', 'a' ) |
| 50 | 50 |
| 51 /* */ | 51 /* */ |
| 52 |
| 52 | 53 |
| 53 FT_END_HEADER | 54 FT_END_HEADER |
| 54 | 55 |
| 55 | 56 |
| 56 #endif /* __TTUNPAT_H__ */ | 57 #endif /* __TTUNPAT_H__ */ |
| 57 | 58 |
| 58 | 59 |
| 59 /* END */ | 60 /* END */ |
| OLD | NEW |