[pango/harfbuzz-ng-external] [HB module] Release font
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pango/harfbuzz-ng-external] [HB module] Release font
- Date: Sun, 20 Dec 2009 16:45:39 +0000 (UTC)
commit 0aee961767c49bd4ed78179779f94f89aadde081
Author: Behdad Esfahbod <behdad behdad org>
Date: Sun Dec 20 17:15:17 2009 +0100
[HB module] Release font
modules/basic/basic-fc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index 8072ce3..c91f810 100644
--- a/modules/basic/basic-fc.c
+++ b/modules/basic/basic-fc.c
@@ -239,6 +239,7 @@ basic_engine_shape (PangoEngineShape *engine G_GNUC_UNUSED,
NULL,
fc_font);
hb_font_set_scale (hb_font,
+ /* XXX CTM */
ft_face->size->metrics.x_scale,
ft_face->size->metrics.y_scale);
is_hinted = fc_font->is_hinted;
@@ -277,6 +278,7 @@ basic_engine_shape (PangoEngineShape *engine G_GNUC_UNUSED,
}
release_buffer (hb_buffer, free_buffer);
+ hb_font_destroy (hb_font);
hb_face_destroy (hb_face);
pango_fc_font_unlock_face (fc_font);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]