aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2008-06-05 04:56:02 +0000
committerKenichi Handa2008-06-05 04:56:02 +0000
commitca2b2cde493cf4c23fc979345f9652c8a90add02 (patch)
treeaff3a58d0a30fbb4ee26fe826cd6af093b6c5899
parent7740d2c7fa7876172239e6d974b473fde07095cf (diff)
downloademacs-ca2b2cde493cf4c23fc979345f9652c8a90add02.tar.gz
emacs-ca2b2cde493cf4c23fc979345f9652c8a90add02.zip
(fontset_find_font): Call font_open_for_lface with the
current font-spec.
-rw-r--r--src/fontset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fontset.c b/src/fontset.c
index fbc6b866f31..87981b46949 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -608,7 +608,8 @@ fontset_find_font (fontset, c, face, id, fallback)
608 RFONT_DEF_SET_FACE (elt, -1); 608 RFONT_DEF_SET_FACE (elt, -1);
609 continue; 609 continue;
610 } 610 }
611 font_object = font_open_for_lface (f, font_entity, face->lface, Qnil); 611 font_object = font_open_for_lface (f, font_entity, face->lface,
612 FONT_DEF_SPEC (font_def));
612 if (NILP (font_object)) 613 if (NILP (font_object))
613 { 614 {
614 /* Record that the font is unsable. */ 615 /* Record that the font is unsable. */