| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* ftsnames.c */ | 3 /* ftsnames.c */ |
| 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.) (body). */ | 6 /* to hold font names, copyright info, notices, etc.) (body). */ |
| 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, 2009 by */ | 10 /* Copyright 1996-2001, 2002, 2009 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 #include "../../include/ft2build.h" | 22 #include <ft2build.h> |
| 23 #include "../../include/freetype/ftsnames.h" | 23 #include FT_SFNT_NAMES_H |
| 24 #include "../../include/freetype/internal/tttypes.h" | 24 #include FT_INTERNAL_TRUETYPE_TYPES_H |
| 25 #include "../../include/freetype/internal/ftstream.h" | 25 #include FT_INTERNAL_STREAM_H |
| 26 | 26 |
| 27 | 27 |
| 28 #ifdef TT_CONFIG_OPTION_SFNT_NAMES | 28 #ifdef TT_CONFIG_OPTION_SFNT_NAMES |
| 29 | 29 |
| 30 | 30 |
| 31 /* documentation is in ftsnames.h */ | 31 /* documentation is in ftsnames.h */ |
| 32 | 32 |
| 33 FT_EXPORT_DEF( FT_UInt ) | 33 FT_EXPORT_DEF( FT_UInt ) |
| 34 FT_Get_Sfnt_Name_Count( FT_Face face ) | 34 FT_Get_Sfnt_Name_Count( FT_Face face ) |
| 35 { | 35 { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 } | 85 } |
| 86 | 86 |
| 87 return error; | 87 return error; |
| 88 } | 88 } |
| 89 | 89 |
| 90 | 90 |
| 91 #endif /* TT_CONFIG_OPTION_SFNT_NAMES */ | 91 #endif /* TT_CONFIG_OPTION_SFNT_NAMES */ |
| 92 | 92 |
| 93 | 93 |
| 94 /* END */ | 94 /* END */ |
| OLD | NEW |