diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-12-20 17:15:17 +0100 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-12-20 17:15:17 +0100 |
commit | 0aee961767c49bd4ed78179779f94f89aadde081 (patch) | |
tree | 367e4cfcaa2eb42a9c0b9253b0bdf1c62db03151 /modules | |
parent | 5283c5b248f7746f3ea2d0238ed10a6da0fbe6f3 (diff) | |
download | pango-0aee961767c49bd4ed78179779f94f89aadde081.tar.gz |
[HB module] Release font
Diffstat (limited to 'modules')
-rw-r--r-- | 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 8072ce3c..c91f8105 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); } |