1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 14:30:43 -08:00

(fontset_find_font): Call font_open_for_lface with the

current font-spec.
This commit is contained in:
Kenichi Handa 2008-06-05 04:56:02 +00:00
parent 7740d2c7fa
commit ca2b2cde49

View file

@ -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. */