projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
952847a
)
Bug 609326 - Complex script shaping failed in the FT2 backend on Windows
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 2 Mar 2010 03:30:51 +0000
(22:30 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 2 Mar 2010 03:30:51 +0000
(22:30 -0500)
Check for face->stream->read == NULL instead of face->stream->base != NULL.
pango/pango-ot-info.c
patch
|
blob
|
history
diff --git
a/pango/pango-ot-info.c
b/pango/pango-ot-info.c
index
aa885a9
..
9c74f91
100644
(file)
--- 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,