diff options
author | Chris Morgan <cmorgan@cybexintl.com> | 2011-07-20 06:48:08 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2011-07-20 06:48:08 +0200 |
commit | 3abf617b5e83a5cbe588169844fe931e7b91e50f (patch) | |
tree | 71128714e1bc12ff122fb8bd10a5d761bd179ce8 /devel | |
parent | 77f04cebe8035ac48f52dd1044505a1ba6185ab0 (diff) | |
download | freetype2-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.h | 11 |
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 */ |