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-2015 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, */ |
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 #ifndef __FTBASE_H__ | 19 #ifndef __FTBASE_H__ |
20 #define __FTBASE_H__ | 20 #define __FTBASE_H__ |
21 | 21 |
22 | 22 |
23 #include <ft2build.h> | 23 #include <ft2build.h> |
24 #include FT_INTERNAL_OBJECTS_H | 24 #include FT_INTERNAL_OBJECTS_H |
25 | 25 |
26 | 26 |
27 FT_BEGIN_HEADER | 27 FT_BEGIN_HEADER |
28 | 28 |
29 | 29 |
| 30 /* MacOS resource fork cannot exceed 16MB at least for Carbon code; */ |
| 31 /* see https://support.microsoft.com/en-us/kb/130437 */ |
| 32 #define FT_MAC_RFORK_MAX_LEN 0x00FFFFFFUL |
| 33 |
| 34 |
30 /* Assume the stream is sfnt-wrapped PS Type1 or sfnt-wrapped CID-keyed */ | 35 /* Assume the stream is sfnt-wrapped PS Type1 or sfnt-wrapped CID-keyed */ |
31 /* font, and try to load a face specified by the face_index. */ | 36 /* font, and try to load a face specified by the face_index. */ |
32 FT_LOCAL( FT_Error ) | 37 FT_LOCAL( FT_Error ) |
33 open_face_PS_from_sfnt_stream( FT_Library library, | 38 open_face_PS_from_sfnt_stream( FT_Library library, |
34 FT_Stream stream, | 39 FT_Stream stream, |
35 FT_Long face_index, | 40 FT_Long face_index, |
36 FT_Int num_params, | 41 FT_Int num_params, |
37 FT_Parameter *params, | 42 FT_Parameter *params, |
38 FT_Face *aface ); | 43 FT_Face *aface ); |
39 | 44 |
(...skipping 20 matching lines...) Expand all Loading... |
60 ft_raccess_rule_by_darwin_vfs( FT_Library library, FT_UInt rule_index ); | 65 ft_raccess_rule_by_darwin_vfs( FT_Library library, FT_UInt rule_index ); |
61 #endif | 66 #endif |
62 | 67 |
63 | 68 |
64 FT_END_HEADER | 69 FT_END_HEADER |
65 | 70 |
66 #endif /* __FTBASE_H__ */ | 71 #endif /* __FTBASE_H__ */ |
67 | 72 |
68 | 73 |
69 /* END */ | 74 /* END */ |
OLD | NEW |