From 9bfd3e9efc32a5c814e5c23df322c7a4935fe744 Mon Sep 17 00:00:00 2001 From: handa Date: Sun, 21 Mar 2004 23:17:50 +0000 Subject: [PATCH] (realize_font_group): Adjust the font size by mfont__resize before selecting a font. --- src/fontset.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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) { -- 1.7.10.4