summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorChris Morgan <cmorgan@cybexintl.com>2011-07-20 06:48:08 +0200
committerWerner Lemberg <wl@gnu.org>2011-07-20 06:48:08 +0200
commit3abf617b5e83a5cbe588169844fe931e7b91e50f (patch)
tree71128714e1bc12ff122fb8bd10a5d761bd179ce8 /devel
parent77f04cebe8035ac48f52dd1044505a1ba6185ab0 (diff)
downloadfreetype2-3abf617b5e83a5cbe588169844fe931e7b91e50f.tar.gz
Add FT_CONFIG_OPTION_DISABLE_STREAM_SUPPORT.
Useful for embedded systems which don't need file stream support. * src/base/ftsystem.c, src/base/ftobjs.c (FT_Stream_New): Implement it.
Diffstat (limited to 'devel')
-rw-r--r--devel/ftoption.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/ftoption.h b/devel/ftoption.h
index a84f650af..4da0221db 100644
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -205,6 +205,17 @@ FT_BEGIN_HEADER
/*************************************************************************/
/* */
+ /* Define to disable the use of file stream functions and types, FILE, */
+ /* fopen() etc. Enables the use of smaller system libraries on embedded */
+ /* systems that have multiple system libraries, some with or without */
+ /* file stream support, in the cases where file stream support is not */
+ /* necessary such as memory loading of font files. */
+ /* */
+/* #define FT_CONFIG_OPTION_DISABLE_STREAM_SUPPORT */
+
+
+ /*************************************************************************/
+ /* */
/* DLL export compilation */
/* */
/* When compiling FreeType as a DLL, some systems/compilers need a */