From ca2b2cde493cf4c23fc979345f9652c8a90add02 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 5 Jun 2008 04:56:02 +0000 Subject: [PATCH] (fontset_find_font): Call font_open_for_lface with the current font-spec. --- src/fontset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. */ -- 2.39.2