I am not sure whether the root cause is a bug in FreeType, or the way
Pango uses FreeType, or some more exotic mechanism. Anyway, add a
simple workaround.
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,