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

(font_load_for_face): Handle the case that the font in

face->lface is a string.
parent 55d6c8ac
......@@ -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))
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