[pango] [OT] Fix crash with non-SFNT fonts
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pango] [OT] Fix crash with non-SFNT fonts
- Date: Thu, 6 Aug 2009 14:43:05 +0000 (UTC)
commit 6ab6f0042aa081007af8a1ae7e8871c8a6f13ab2
Author: Behdad Esfahbod <behdad behdad org>
Date: Thu Aug 6 10:40:12 2009 -0400
[OT] Fix crash with non-SFNT fonts
pango/pango-ot-info.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index 2dfe521..025b74b 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]