diff src/fontset.c @ 95570:b18ab5e0d568

(fontset_find_font): Call font_open_for_lface with the current font-spec.
author Kenichi Handa <handa@m17n.org>
date Thu, 05 Jun 2008 04:56:02 +0000
parents 415f68458e61
children 32785fc68f99
line wrap: on
line diff
--- a/src/fontset.c	Thu Jun 05 04:18:55 2008 +0000
+++ b/src/fontset.c	Thu Jun 05 04:56:02 2008 +0000
@@ -608,7 +608,8 @@
 	      RFONT_DEF_SET_FACE (elt, -1);
 	      continue;
 	    }
-	  font_object = font_open_for_lface (f, font_entity, face->lface, Qnil);
+	  font_object = font_open_for_lface (f, font_entity, face->lface,
+					     FONT_DEF_SPEC (font_def));
 	  if (NILP (font_object))
 	    {
 	      /* Record that the font is unsable.  */