diff options
-rw-r--r-- | pango/pango-ot-info.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c index bd25fcae..aa885a9d 100644 --- a/pango/pango-ot-info.c +++ b/pango/pango-ot-info.c @@ -144,7 +144,13 @@ pango_ot_info_get (FT_Face face) info->face = face; - if (face->stream->base != NULL) { + if ( +#ifdef G_OS_WIN32 + FALSE && /* Work around possible bug in FreeType, FT_StreamRec::base + * can be non-NULL even if the stream is not memory-based. + */ +#endif + face->stream->base != NULL) { hb_blob_t *blob; blob = hb_blob_create ((const char *) face->stream->base, |