[OT] Fix crash with non-SFNT fonts
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 6 Aug 2009 14:40:12 +0000 (10:40 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 6 Aug 2009 14:40:12 +0000 (10:40 -0400)
pango/pango-ot-info.c

index 2dfe521..025b74b 100644 (file)
@@ -134,7 +134,7 @@ pango_ot_info_get (FT_Face face)
            synthesize_class_def (info);
        }
       else
-        info->hb_face = hb_face_create_for_data (NULL, 0);
+        info->hb_face = hb_face_create_for_data (hb_blob_create_empty (), 0);
     }
 
   return info;