diff --git a/src/font.c b/src/font.c index f9097d1f064..1e95315bdaf 100644 --- a/src/font.c +++ b/src/font.c @@ -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)) {