# HG changeset patch # User Kenichi Handa # Date 1212641762 0 # Node ID b18ab5e0d568ab12843b12b98d7a4d7ae8914c4b # Parent 2bf09d117bb605807fbf8da4e976c61aaaf39198 (fontset_find_font): Call font_open_for_lface with the current font-spec. diff -r 2bf09d117bb6 -r b18ab5e0d568 src/fontset.c --- 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. */