summaryrefslogtreecommitdiffstats
path: root/src/base/ftbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/ftbase.h')
-rw-r--r--src/base/ftbase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base/ftbase.h b/src/base/ftbase.h
index cb57f96..e37fefa 100644
--- a/src/base/ftbase.h
+++ b/src/base/ftbase.h
@@ -27,6 +27,11 @@
FT_BEGIN_HEADER
+ /* MacOS resource fork cannot exceed 16MB at least for Carbon code; */
+ /* see https://support.microsoft.com/en-us/kb/130437 */
+#define FT_MAC_RFORK_MAX_LEN 0x00FFFFFFUL
+
+
/* Assume the stream is sfnt-wrapped PS Type1 or sfnt-wrapped CID-keyed */
/* font, and try to load a face specified by the face_index. */
FT_LOCAL( FT_Error )