From a8c0cc186d6d37a07ab2bfe50e4a0a46abe663ce Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 27 Jul 2009 04:19:57 +0000 Subject: [PATCH] (face_with_height): Call font_clear_prop. --- src/ChangeLog | 4 ++++ src/xfaces.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 0205c76c38d..bc3f9b57ba4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-07-27 Kenichi Handa + + * xfaces.c (face_with_height): Call font_clear_prop. + 2009-07-26 Chong Yidong * dispnew.c (init_display): Use Qx, Qw32, and Qns. diff --git a/src/xfaces.c b/src/xfaces.c index 3faaf247296..4f808e41beb 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 */ -- 2.39.2