From: Kenichi Handa Date: Mon, 18 May 2009 12:14:14 +0000 (+0000) Subject: (font_find_for_lface): Copy SPEC's FONT_TYPE too. X-Git-Tag: emacs-pretest-23.0.94~30 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=227f12fabb3624dd28c6ce0db39f8f3926053e2b;p=emacs.git (font_find_for_lface): Copy SPEC's FONT_TYPE too. --- diff --git a/src/font.c b/src/font.c index 19bc70dd976..9095d05cd33 100644 --- a/src/font.c +++ b/src/font.c @@ -3272,6 +3272,7 @@ font_find_for_lface (f, attrs, spec, c) } work = Fcopy_font_spec (spec); + ASET (work, FONT_TYPE_INDEX, AREF (spec, FONT_TYPE_INDEX)); XSETFRAME (frame, f); size = AREF (spec, FONT_SIZE_INDEX); pixel_size = font_pixel_size (f, spec);