--- a/sge_tt_text.cpp +++ b/sge_tt_text.cpp @@ -40,7 +40,6 @@ #include FT_FREETYPE_H #include FT_OUTLINE_H #include FT_TRUETYPE_IDS_H -#include FT_INTERNAL_OBJECTS_H /* The structure used to hold glyph information (cached) */ struct glyph { @@ -295,7 +294,7 @@ } memset(stream, 0, sizeof(*stream)); - stream->memory = _sge_library->memory; + stream->memory = NULL; stream->read = RWread; stream->descriptor.pointer = src; stream->pos = (unsigned long)position;