From: Kenichi Handa Date: Thu, 5 Jun 2008 04:56:02 +0000 (+0000) Subject: (fontset_find_font): Call font_open_for_lface with the X-Git-Tag: emacs-pretest-23.0.90~5092 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ca2b2cde493cf4c23fc979345f9652c8a90add02;p=emacs.git (fontset_find_font): Call font_open_for_lface with the current font-spec. --- diff --git a/src/fontset.c b/src/fontset.c index fbc6b866f31..87981b46949 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -608,7 +608,8 @@ fontset_find_font (fontset, c, face, id, fallback) RFONT_DEF_SET_FACE (elt, -1); continue; } - font_object = font_open_for_lface (f, font_entity, face->lface, Qnil); + font_object = font_open_for_lface (f, font_entity, face->lface, + FONT_DEF_SPEC (font_def)); if (NILP (font_object)) { /* Record that the font is unsable. */