diff options
Diffstat (limited to 'pango/pangowin32-fontmap.c')
-rw-r--r-- | pango/pangowin32-fontmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c index e5e81bba..5cccdce7 100644 --- a/pango/pangowin32-fontmap.c +++ b/pango/pangowin32-fontmap.c @@ -678,7 +678,7 @@ create_standard_family (PangoWin32FontMap *win32fontmap, new_face->has_cmap = old_face->has_cmap; new_face->cmap_format = old_face->cmap_format; - new_face->cmap = old_face->cmap; + new_face->cmap = _pango_win32_copy_cmap (old_face->cmap, old_face->cmap_format); new_face->cached_fonts = NULL; @@ -1759,7 +1759,7 @@ pango_win32_face_finalize (GObject *object) g_free (win32face->face_name); - //g_free (win32face->cmap); // Err, cmap does not have lifecycle management currently :( + g_free (win32face->cmap); g_slist_free (win32face->cached_fonts); // g_slist_free_full (win32face->cached_fonts, g_object_unref); // This doesn't work. |