From d9cae38345083e44b7a90b9c567b7e05915c2bd8 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Tue, 28 Jul 2009 15:00:51 +0000 Subject: [PATCH] * xfaces.c (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 50cdcd733e8..b6ce0fad6f2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-07-28 Kenichi Handa + + * xfaces.c (face_with_height): Call font_clear_prop. + 2009-07-28 Kenichi Handa * font.c (font_parse_xlfd): Check DPI and AVGWIDTH properties more diff --git a/src/xfaces.c b/src/xfaces.c index 704d7a92049..9eb3d36211b 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -4959,6 +4959,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.5