Mercurial > emacs
changeset 95567:4170d7f0d918
(realize_x_face): If the font-related face attributes
are the same s those of default face, realize a new fontset
from default->fontset.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 05 Jun 2008 04:14:48 +0000 |
parents | b3c0438c570b |
children | 4fec6e274c04 |
files | src/xfaces.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfaces.c Thu Jun 05 03:57:09 2008 +0000 +++ b/src/xfaces.c Thu Jun 05 04:14:48 2008 +0000 @@ -5776,7 +5776,8 @@ && lface_same_font_attributes_p (default_face->lface, attrs)) { face->font = default_face->font; - face->fontset = make_fontset_for_ascii_face (f, -1, face); + face->fontset + = make_fontset_for_ascii_face (f, default_face->fontset, face); } else {