diff options
| author | Kenichi Handa | 2008-06-05 04:14:48 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-06-05 04:14:48 +0000 |
| commit | 76f54ecc910f8b870b13bc2dd5950f08db4f05b2 (patch) | |
| tree | 6a99436bcb9c7d2a51ab3ab6bb1fd2c6246df401 | |
| parent | c876b227d9b0cbd09bbb8c07db0a3cb0d85fae78 (diff) | |
| download | emacs-76f54ecc910f8b870b13bc2dd5950f08db4f05b2.tar.gz emacs-76f54ecc910f8b870b13bc2dd5950f08db4f05b2.zip | |
(realize_x_face): If the font-related face attributes
are the same s those of default face, realize a new fontset
from default->fontset.
| -rw-r--r-- | src/xfaces.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 2b85cfb6605..74b53ed0a32 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -5776,7 +5776,8 @@ realize_x_face (cache, attrs) | |||
| 5776 | && lface_same_font_attributes_p (default_face->lface, attrs)) | 5776 | && lface_same_font_attributes_p (default_face->lface, attrs)) |
| 5777 | { | 5777 | { |
| 5778 | face->font = default_face->font; | 5778 | face->font = default_face->font; |
| 5779 | face->fontset = make_fontset_for_ascii_face (f, -1, face); | 5779 | face->fontset |
| 5780 | = make_fontset_for_ascii_face (f, default_face->fontset, face); | ||
| 5780 | } | 5781 | } |
| 5781 | else | 5782 | else |
| 5782 | { | 5783 | { |