summaryrefslogtreecommitdiff
path: root/pango/pango-ot-info.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-08-06 10:40:12 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-08-06 10:40:12 -0400
commit6ab6f0042aa081007af8a1ae7e8871c8a6f13ab2 (patch)
tree2816d864af7cbd000101bc7b8ba647a75da453fd /pango/pango-ot-info.c
parent7a1539df497997a4d97b9d27cfb082454e4ab694 (diff)
downloadpango-6ab6f0042aa081007af8a1ae7e8871c8a6f13ab2.tar.gz
[OT] Fix crash with non-SFNT fonts
Diffstat (limited to 'pango/pango-ot-info.c')
-rw-r--r--pango/pango-ot-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index 2dfe521c..025b74b7 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -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;