OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftbase.h */ | 3 /* ftbase.h */ |
4 /* */ | 4 /* */ |
5 /* The FreeType private functions used in base module (specification). */ | 5 /* The FreeType private functions used in base module (specification). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2008, 2010 by */ | 7 /* Copyright 2008, 2010 by */ |
8 /* David Turner, Robert Wilhelm, Werner Lemberg, and suzuki toshiya. */ | 8 /* David Turner, Robert Wilhelm, Werner Lemberg, and suzuki toshiya. */ |
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, */ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 /* From ftmac.c. */ | 42 /* From ftmac.c. */ |
43 FT_LOCAL( FT_Error ) | 43 FT_LOCAL( FT_Error ) |
44 open_face_from_buffer( FT_Library library, | 44 open_face_from_buffer( FT_Library library, |
45 FT_Byte* base, | 45 FT_Byte* base, |
46 FT_ULong size, | 46 FT_ULong size, |
47 FT_Long face_index, | 47 FT_Long face_index, |
48 const char* driver_name, | 48 const char* driver_name, |
49 FT_Face *aface ); | 49 FT_Face *aface ); |
50 | 50 |
51 | 51 |
52 #ifdef FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK | 52 #if defined( FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK ) && \ |
| 53 !defined( FT_MACINTOSH ) |
53 /* Mac OS X/Darwin kernel often changes recommended method to access */ | 54 /* Mac OS X/Darwin kernel often changes recommended method to access */ |
54 /* the resource fork and older methods makes the kernel issue the */ | 55 /* the resource fork and older methods makes the kernel issue the */ |
55 /* warning of deprecated method. To calm it down, the methods based */ | 56 /* warning of deprecated method. To calm it down, the methods based */ |
56 /* on Darwin VFS should be grouped and skip the rest methods after */ | 57 /* on Darwin VFS should be grouped and skip the rest methods after */ |
57 /* the case the resource is opened but found to lack a font in it. */ | 58 /* the case the resource is opened but found to lack a font in it. */ |
58 FT_LOCAL( FT_Bool ) | 59 FT_LOCAL( FT_Bool ) |
59 raccess_rule_by_darwin_vfs( FT_UInt rule_index ); | 60 ft_raccess_rule_by_darwin_vfs( FT_Library library, FT_UInt rule_index ); |
60 #endif /* FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK */ | 61 #endif |
61 | 62 |
62 | 63 |
63 FT_END_HEADER | 64 FT_END_HEADER |
64 | 65 |
65 #endif /* __FTBASE_H__ */ | 66 #endif /* __FTBASE_H__ */ |
66 | 67 |
67 | 68 |
68 /* END */ | 69 /* END */ |
OLD | NEW |