Commit ca2b2cde authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(fontset_find_font): Call font_open_for_lface with the

current font-spec.
parent 7740d2c7
...@@ -608,7 +608,8 @@ fontset_find_font (fontset, c, face, id, fallback) ...@@ -608,7 +608,8 @@ fontset_find_font (fontset, c, face, id, fallback)
RFONT_DEF_SET_FACE (elt, -1); RFONT_DEF_SET_FACE (elt, -1);
continue; 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)) if (NILP (font_object))
{ {
/* Record that the font is unsable. */ /* Record that the font is unsable. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment