# HG changeset patch # User Kenichi Handa # Date 1212639288 0 # Node ID 4170d7f0d918efa0064aa1f9e752f0a0a544f5b2 # Parent b3c0438c570b999e5e66aa26db139ce8d360bceb (realize_x_face): If the font-related face attributes are the same s those of default face, realize a new fontset from default->fontset. diff -r b3c0438c570b -r 4170d7f0d918 src/xfaces.c --- 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 {