| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* ftsnames.h */ | 3 /* ftsnames.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* Simple interface to access SFNT name tables (which are used */ | 5 /* Simple interface to access SFNT name tables (which are used */ |
| 6 /* to hold font names, copyright info, notices, etc.) (specification). */ | 6 /* to hold font names, copyright info, notices, etc.) (specification). */ |
| 7 /* */ | 7 /* */ |
| 8 /* This is _not_ used to retrieve glyph names! */ | 8 /* This is _not_ used to retrieve glyph names! */ |
| 9 /* */ | 9 /* */ |
| 10 /* Copyright 1996-2001, 2002, 2003, 2006, 2009, 2010 by */ | 10 /* Copyright 1996-2003, 2006, 2009, 2010, 2013 by */ |
| 11 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 11 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
| 12 /* */ | 12 /* */ |
| 13 /* This file is part of the FreeType project, and may only be used, */ | 13 /* This file is part of the FreeType project, and may only be used, */ |
| 14 /* modified, and distributed under the terms of the FreeType project */ | 14 /* modified, and distributed under the terms of the FreeType project */ |
| 15 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 15 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
| 16 /* this file you indicate that you have read the license and */ | 16 /* this file you indicate that you have read the license and */ |
| 17 /* understand and accept it fully. */ | 17 /* understand and accept it fully. */ |
| 18 /* */ | 18 /* */ |
| 19 /***************************************************************************/ | 19 /***************************************************************************/ |
| 20 | 20 |
| 21 | 21 |
| 22 #ifndef __FT_SFNT_NAMES_H__ | 22 #ifndef __FT_SFNT_NAMES_H__ |
| 23 #define __FT_SFNT_NAMES_H__ | 23 #define __FT_SFNT_NAMES_H__ |
| 24 | 24 |
| 25 | 25 |
| 26 #include "../ft2build.h" | 26 #include <ft2build.h> |
| 27 #include "freetype.h" | 27 #include FT_FREETYPE_H |
| 28 | 28 |
| 29 #ifdef FREETYPE_H | 29 #ifdef FREETYPE_H |
| 30 #error "freetype.h of FreeType 1 has been loaded!" | 30 #error "freetype.h of FreeType 1 has been loaded!" |
| 31 #error "Please fix the directory search order for header files" | 31 #error "Please fix the directory search order for header files" |
| 32 #error "so that freetype.h of FreeType 2 is found first." | 32 #error "so that freetype.h of FreeType 2 is found first." |
| 33 #endif | 33 #endif |
| 34 | 34 |
| 35 | 35 |
| 36 FT_BEGIN_HEADER | 36 FT_BEGIN_HEADER |
| 37 | 37 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 | 162 |
| 163 /*************************************************************************** | 163 /*************************************************************************** |
| 164 * | 164 * |
| 165 * @constant: | 165 * @constant: |
| 166 * FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY | 166 * FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY |
| 167 * | 167 * |
| 168 * @description: | 168 * @description: |
| 169 * A constant used as the tag of @FT_Parameter structures to make | 169 * A constant used as the tag of @FT_Parameter structures to make |
| 170 * FT_Open_Face() ignore preferred family subfamily names in `name' | 170 * FT_Open_Face() ignore preferred family subfamily names in `name' |
| 171 * table since OpenType version 1.4. For backwards compatibility with | 171 * table since OpenType version 1.4. For backwards compatibility with |
| 172 * legacy systems which has 4-face-per-family restriction. | 172 * legacy systems that have a 4-face-per-family restriction. |
| 173 * | 173 * |
| 174 */ | 174 */ |
| 175 #define FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY FT_MAKE_TAG( 'i', 'g', 'p', 'f' ) | 175 #define FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY FT_MAKE_TAG( 'i', 'g', 'p', 'f' ) |
| 176 | 176 |
| 177 | 177 |
| 178 /*************************************************************************** | 178 /*************************************************************************** |
| 179 * | 179 * |
| 180 * @constant: | 180 * @constant: |
| 181 * FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY | 181 * FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY |
| 182 * | 182 * |
| 183 * @description: | 183 * @description: |
| 184 * A constant used as the tag of @FT_Parameter structures to make | 184 * A constant used as the tag of @FT_Parameter structures to make |
| 185 * FT_Open_Face() ignore preferred subfamily names in `name' table since | 185 * FT_Open_Face() ignore preferred subfamily names in `name' table since |
| 186 * OpenType version 1.4. For backwards compatibility with legacy | 186 * OpenType version 1.4. For backwards compatibility with legacy |
| 187 * systems which has 4-face-per-family restriction. | 187 * systems that have a 4-face-per-family restriction. |
| 188 * | 188 * |
| 189 */ | 189 */ |
| 190 #define FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY FT_MAKE_TAG( 'i', 'g', 'p', 's'
) | 190 #define FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY FT_MAKE_TAG( 'i', 'g', 'p', 's'
) |
| 191 | 191 |
| 192 /* */ | 192 /* */ |
| 193 | 193 |
| 194 | 194 |
| 195 FT_END_HEADER | 195 FT_END_HEADER |
| 196 | 196 |
| 197 #endif /* __FT_SFNT_NAMES_H__ */ | 197 #endif /* __FT_SFNT_NAMES_H__ */ |
| 198 | 198 |
| 199 | 199 |
| 200 /* END */ | 200 /* END */ |
| OLD | NEW |