diff options
author | Kenichi Handa <[email protected]> | 2008-06-05 04:56:02 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2008-06-05 04:56:02 +0000 |
commit | ca2b2cde493cf4c23fc979345f9652c8a90add02 (patch) | |
tree | aff3a58d0a30fbb4ee26fe826cd6af093b6c5899 /src/fontset.c | |
parent | 7740d2c7fa7876172239e6d974b473fde07095cf (diff) |
(fontset_find_font): Call font_open_for_lface with the
current font-spec.
Diffstat (limited to 'src/fontset.c')
-rw-r--r-- | src/fontset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fontset.c b/src/fontset.c index fbc6b866f3..87981b4694 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -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. */ |