From: handa Date: Sun, 21 Mar 2004 23:17:50 +0000 (+0000) Subject: (realize_font_group): Adjust the font size by X-Git-Tag: REL-1-0-2~25 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=9bfd3e9efc32a5c814e5c23df322c7a4935fe744;p=m17n%2Fm17n-lib.git (realize_font_group): Adjust the font size by mfont__resize before selecting a font. --- diff --git a/src/fontset.c b/src/fontset.c index 6f922ec..7e8c53f 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -308,9 +308,12 @@ realize_font_group (MFrame *frame, MFont *request, MPlist *font_group, MPLIST_DO (pl, plist) { MSymbol layouter = MPLIST_KEY (pl); - MRealizedFont *rfont = mfont__select (frame, MPLIST_VAL (pl), request, - size, - layouter == Mt ? Mnil : layouter); + MFont this_request = *request; + MRealizedFont *rfont; + + mfont__resize (MPLIST_VAL (pl), &this_request); + rfont = mfont__select (frame, MPLIST_VAL (pl), &this_request, + size, layouter == Mt ? Mnil : layouter); if (rfont) {