OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftcid.h */ | 3 /* ftcid.h */ |
4 /* */ | 4 /* */ |
5 /* FreeType API for accessing CID font information (specification). */ | 5 /* FreeType API for accessing CID font information (specification). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2007, 2009 by Dereg Clegg, Michael Toftdal. */ | 7 /* Copyright 2007, 2009 by Dereg Clegg, Michael Toftdal. */ |
8 /* */ | 8 /* */ |
9 /* This file is part of the FreeType project, and may only be used, */ | 9 /* This file is part of the FreeType project, and may only be used, */ |
10 /* modified, and distributed under the terms of the FreeType project */ | 10 /* modified, and distributed under the terms of the FreeType project */ |
11 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 11 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
12 /* this file you indicate that you have read the license and */ | 12 /* this file you indicate that you have read the license and */ |
13 /* understand and accept it fully. */ | 13 /* understand and accept it fully. */ |
14 /* */ | 14 /* */ |
15 /***************************************************************************/ | 15 /***************************************************************************/ |
16 | 16 |
17 | 17 |
18 #ifndef __FTCID_H__ | 18 #ifndef __FTCID_H__ |
19 #define __FTCID_H__ | 19 #define __FTCID_H__ |
20 | 20 |
21 #include "../ft2build.h" | 21 #include <ft2build.h> |
22 #include "freetype.h" | 22 #include FT_FREETYPE_H |
23 | 23 |
24 #ifdef FREETYPE_H | 24 #ifdef FREETYPE_H |
25 #error "freetype.h of FreeType 1 has been loaded!" | 25 #error "freetype.h of FreeType 1 has been loaded!" |
26 #error "Please fix the directory search order for header files" | 26 #error "Please fix the directory search order for header files" |
27 #error "so that freetype.h of FreeType 2 is found first." | 27 #error "so that freetype.h of FreeType 2 is found first." |
28 #endif | 28 #endif |
29 | 29 |
30 | 30 |
31 FT_BEGIN_HEADER | 31 FT_BEGIN_HEADER |
32 | 32 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 * returning an error otherwise. | 149 * returning an error otherwise. |
150 * | 150 * |
151 * @since: | 151 * @since: |
152 * 2.3.9 | 152 * 2.3.9 |
153 */ | 153 */ |
154 FT_EXPORT( FT_Error ) | 154 FT_EXPORT( FT_Error ) |
155 FT_Get_CID_From_Glyph_Index( FT_Face face, | 155 FT_Get_CID_From_Glyph_Index( FT_Face face, |
156 FT_UInt glyph_index, | 156 FT_UInt glyph_index, |
157 FT_UInt *cid ); | 157 FT_UInt *cid ); |
158 | 158 |
159 /* */ | 159 /* */ |
| 160 |
160 | 161 |
161 FT_END_HEADER | 162 FT_END_HEADER |
162 | 163 |
163 #endif /* __FTCID_H__ */ | 164 #endif /* __FTCID_H__ */ |
164 | 165 |
165 | 166 |
166 /* END */ | 167 /* END */ |
OLD | NEW |