summaryrefslogtreecommitdiff
path: root/pango/pango-ot-info.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-03-01 22:30:51 -0500
committerBehdad Esfahbod <behdad@behdad.org>2010-03-01 22:30:51 -0500
commit8818723646aeb013dd39fca1c6e1162c7636b67f (patch)
tree97d9ca2911bad0bdf9c25f9380f481c6496d3744 /pango/pango-ot-info.c
parent952847a6e2d53b33cea39d13255fd0f7c8075942 (diff)
downloadpango-8818723646aeb013dd39fca1c6e1162c7636b67f.tar.gz
Bug 609326 - Complex script shaping failed in the FT2 backend on Windows
Check for face->stream->read == NULL instead of face->stream->base != NULL.
Diffstat (limited to 'pango/pango-ot-info.c')
-rw-r--r--pango/pango-ot-info.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index aa885a9d..9c74f917 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -144,13 +144,7 @@ pango_ot_info_get (FT_Face face)
info->face = face;
- 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) {
+ if (face->stream->read == NULL) {
hb_blob_t *blob;
blob = hb_blob_create ((const char *) face->stream->base,