]> git.eshelyaron.com Git - emacs.git/commitdiff
(fontset_find_font): Call font_open_for_lface with the
authorKenichi Handa <handa@m17n.org>
Thu, 5 Jun 2008 04:56:02 +0000 (04:56 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 5 Jun 2008 04:56:02 +0000 (04:56 +0000)
current font-spec.

src/fontset.c

index fbc6b866f3105b67ac755759a8eb101c67220363..87981b469493ccc12e5473badd23ee75690eccab 100644 (file)
@@ -608,7 +608,8 @@ fontset_find_font (fontset, c, face, id, fallback)
              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.  */