From 2feeb02df374784d9337ff9663da8abc69af8535 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 25 Aug 2004 08:46:53 +0000 Subject: [PATCH] (mfontset): Initialize font_spec_list member. (mfontset_copy): Load fontset if necessary. --- src/fontset.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fontset.c b/src/fontset.c index 3f8e938..6feef43 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -696,6 +696,7 @@ mfontset (char *name) fontset->per_script = mplist (); fontset->per_charset = mplist (); fontset->fallback = mplist (); + fontset->font_spec_list = mplist (); } mplist_put (fontset_list, sym, fontset); } @@ -749,6 +750,9 @@ mfontset_copy (MFontset *fontset, char *name) M17N_OBJECT (copy, free_fontset, MERROR_FONTSET); copy->name = sym; + if (fontset->mdb) + load_fontset_contents (fontset); + if (fontset->per_script) { copy->per_script = mplist (); -- 1.7.10.4