1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 15:21:46 +00:00

(font_load_for_face): Handle the case that the font in

face->lface is a string.
This commit is contained in:
Kenichi Handa 2008-01-25 11:26:27 +00:00
parent 55d6c8ac6e
commit c8ea71f686

View File

@ -2753,6 +2753,10 @@ font_load_for_face (f, face)
if (! NILP (entity))
font_object = font_open_for_lface (f, entity, face->lface, Qnil);
}
else if (STRINGP (font_object))
{
font_object = font_open_by_name (f, SDATA (font_object));
}
if (! NILP (font_object))
{