summaryrefslogtreecommitdiff
path: root/src/xfaces.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2008-06-05 04:14:48 +0000
committerKenichi Handa <handa@m17n.org>2008-06-05 04:14:48 +0000
commit6c953d5508550038c09a791acb4b5f996af7831b (patch)
tree3144c96c3496643cdf484eb03973eef76a5ce325 /src/xfaces.c
parent5043040486ea109100419c5907a4602bb97768e5 (diff)
downloademacs-6c953d5508550038c09a791acb4b5f996af7831b.tar.gz
(realize_x_face): If the font-related face attributes
are the same s those of default face, realize a new fontset from default->fontset.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r--src/xfaces.c3
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)
&& 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
{