diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2008-10-28 17:09:21 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-10-28 17:09:21 +0000 |
commit | a9ff0d386ec26c51e1ab44f7d8a1da2a80ea2b7b (patch) | |
tree | f1f3c29a95116a373863c17fde89cf45031f6e1e /pango/pangofc-font.c | |
parent | 5b662d63aab22aec0359fa53a5f5605549b92575 (diff) | |
download | pango-a9ff0d386ec26c51e1ab44f7d8a1da2a80ea2b7b.tar.gz |
Bug 558254 – Internal reference handling messed up
2008-10-28 Behdad Esfahbod <behdad@gnome.org>
Bug 558254 – Internal reference handling messed up
* pango/pangofc-font.c (pango_fc_font_get_coverage):
* pango/pangofc-fontmap.c (pango_fc_font_map_finalize):
Make sure fonts->fontmap is set to NULL when fontmap finalizes.
svn path=/trunk/; revision=2734
Diffstat (limited to 'pango/pangofc-font.c')
-rw-r--r-- | pango/pangofc-font.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c index 9acd75d6..b5d65ca6 100644 --- a/pango/pangofc-font.c +++ b/pango/pangofc-font.c @@ -309,6 +309,9 @@ pango_fc_font_get_coverage (PangoFont *font, return _pango_fc_font_map_fc_to_coverage (charset); } + if (!fcfont->fontmap) + return pango_coverage_new (); + return _pango_fc_font_map_get_coverage (PANGO_FC_FONT_MAP (fcfont->fontmap), fcfont); } |