diff options
| author | Kenichi Handa | 2008-06-05 04:56:02 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-06-05 04:56:02 +0000 |
| commit | ca2b2cde493cf4c23fc979345f9652c8a90add02 (patch) | |
| tree | aff3a58d0a30fbb4ee26fe826cd6af093b6c5899 | |
| parent | 7740d2c7fa7876172239e6d974b473fde07095cf (diff) | |
| download | emacs-ca2b2cde493cf4c23fc979345f9652c8a90add02.tar.gz emacs-ca2b2cde493cf4c23fc979345f9652c8a90add02.zip | |
(fontset_find_font): Call font_open_for_lface with the
current font-spec.
| -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 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. */ |