aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xfaces.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0205c76c38..bc3f9b57ba 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-27 Kenichi Handa <[email protected]>
+
+ * xfaces.c (face_with_height): Call font_clear_prop.
+
2009-07-26 Chong Yidong <[email protected]>
* dispnew.c (init_display): Use Qx, Qw32, and Qns.
diff --git a/src/xfaces.c b/src/xfaces.c
index 3faaf24729..4f808e41be 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -4958,6 +4958,7 @@ face_with_height (f, face_id, height)
face = FACE_FROM_ID (f, face_id);
bcopy (face->lface, attrs, sizeof attrs);
attrs[LFACE_HEIGHT_INDEX] = make_number (height);
+ font_clear_prop (attrs, FONT_SIZE_INDEX);
face_id = lookup_face (f, attrs);
#endif /* HAVE_WINDOW_SYSTEM */