diff options
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 64199239..133a4df4 100644 --- a/pango/pangofc-font.c +++ b/pango/pangofc-font.c @@ -754,6 +754,9 @@ _pango_fc_font_shutdown (PangoFcFont *font) if (PANGO_FC_FONT_GET_CLASS (font)->shutdown) PANGO_FC_FONT_GET_CLASS (font)->shutdown (font); + + if (font->fontmap) + _pango_fc_font_map_remove (PANGO_FC_FONT_MAP (font->fontmap), font); } /** |