Index: third_party/freetype/src/base/ftbase.h |
diff --git a/third_party/freetype/src/base/ftbase.h b/third_party/freetype/src/base/ftbase.h |
index 51a1db18b84ca7be41b50585f45060db6e200320..e37fefa411f9cbb8ef20de14790f1e07670f2202 100644 |
--- a/third_party/freetype/src/base/ftbase.h |
+++ b/third_party/freetype/src/base/ftbase.h |
@@ -4,7 +4,7 @@ |
/* */ |
/* The FreeType private functions used in base module (specification). */ |
/* */ |
-/* Copyright 2008, 2010 by */ |
+/* Copyright 2008-2015 by */ |
/* David Turner, Robert Wilhelm, Werner Lemberg, and suzuki toshiya. */ |
/* */ |
/* This file is part of the FreeType project, and may only be used, */ |
@@ -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 ) |