OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftmac.h */ | 3 /* ftmac.h */ |
4 /* */ | 4 /* */ |
5 /* Additional Mac-specific API. */ | 5 /* Additional Mac-specific API. */ |
6 /* */ | 6 /* */ |
7 /* Copyright 1996-2001, 2004, 2006, 2007 by */ | 7 /* Copyright 1996-2001, 2004, 2006, 2007, 2013 by */ |
8 /* Just van Rossum, David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* Just van Rossum, 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 /***************************************************************************/ | 19 /***************************************************************************/ |
20 /* */ | 20 /* */ |
21 /* NOTE: Include this file after <freetype/freetype.h> and after any */ | 21 /* NOTE: Include this file after FT_FREETYPE_H and after any */ |
22 /* Mac-specific headers (because this header uses Mac types such as */ | 22 /* Mac-specific headers (because this header uses Mac types such as */ |
23 /* Handle, FSSpec, FSRef, etc.) */ | 23 /* Handle, FSSpec, FSRef, etc.) */ |
24 /* */ | 24 /* */ |
25 /***************************************************************************/ | 25 /***************************************************************************/ |
26 | 26 |
27 | 27 |
28 #ifndef __FTMAC_H__ | 28 #ifndef __FTMAC_H__ |
29 #define __FTMAC_H__ | 29 #define __FTMAC_H__ |
30 | 30 |
31 | 31 |
32 #include "../ft2build.h" | 32 #include <ft2build.h> |
33 | 33 |
34 | 34 |
35 FT_BEGIN_HEADER | 35 FT_BEGIN_HEADER |
36 | 36 |
37 | 37 |
38 /* gcc-3.4.1 and later can warn about functions tagged as deprecated */ | 38 /* gcc-3.4.1 and later can warn about functions tagged as deprecated */ |
39 #ifndef FT_DEPRECATED_ATTRIBUTE | 39 #ifndef FT_DEPRECATED_ATTRIBUTE |
40 #if defined(__GNUC__) && \ | 40 #if defined(__GNUC__) && \ |
41 ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1))) | 41 ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1))) |
42 #define FT_DEPRECATED_ATTRIBUTE __attribute__((deprecated)) | 42 #define FT_DEPRECATED_ATTRIBUTE __attribute__((deprecated)) |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 FT_DEPRECATED_ATTRIBUTE; | 161 FT_DEPRECATED_ATTRIBUTE; |
162 | 162 |
163 | 163 |
164 /*************************************************************************/ | 164 /*************************************************************************/ |
165 /* */ | 165 /* */ |
166 /* <Function> */ | 166 /* <Function> */ |
167 /* FT_GetFilePath_From_Mac_ATS_Name */ | 167 /* FT_GetFilePath_From_Mac_ATS_Name */ |
168 /* */ | 168 /* */ |
169 /* <Description> */ | 169 /* <Description> */ |
170 /* Return a pathname of the disk file and face index for given font */ | 170 /* Return a pathname of the disk file and face index for given font */ |
171 /* name which is handled by ATS framework. */ | 171 /* name that is handled by ATS framework. */ |
172 /* */ | 172 /* */ |
173 /* <Input> */ | 173 /* <Input> */ |
174 /* fontName :: Mac OS name of the font in ATS framework. */ | 174 /* fontName :: Mac OS name of the font in ATS framework. */ |
175 /* */ | 175 /* */ |
176 /* <Output> */ | 176 /* <Output> */ |
177 /* path :: Buffer to store pathname of the file. For passing */ | 177 /* path :: Buffer to store pathname of the file. For passing */ |
178 /* to @FT_New_Face. The client must allocate this */ | 178 /* to @FT_New_Face. The client must allocate this */ |
179 /* buffer before calling this function. */ | 179 /* buffer before calling this function. */ |
180 /* */ | 180 /* */ |
181 /* maxPathSize :: Lengths of the buffer `path' that client allocated. */ | 181 /* maxPathSize :: Lengths of the buffer `path' that client allocated. */ |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 /* */ | 265 /* */ |
266 | 266 |
267 | 267 |
268 FT_END_HEADER | 268 FT_END_HEADER |
269 | 269 |
270 | 270 |
271 #endif /* __FTMAC_H__ */ | 271 #endif /* __FTMAC_H__ */ |
272 | 272 |
273 | 273 |
274 /* END */ | 274 /* END */ |
OLD | NEW |