aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/font.c4
1 files changed, 4 insertions, 0 deletions
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)
2753 if (! NILP (entity)) 2753 if (! NILP (entity))
2754 font_object = font_open_for_lface (f, entity, face->lface, Qnil); 2754 font_object = font_open_for_lface (f, entity, face->lface, Qnil);
2755 } 2755 }
2756 else if (STRINGP (font_object))
2757 {
2758 font_object = font_open_by_name (f, SDATA (font_object));
2759 }
2756 2760
2757 if (! NILP (font_object)) 2761 if (! NILP (font_object))
2758 { 2762 {