changeset 104079:40593ae49f6b

(face_with_height): Call font_clear_prop.
author Kenichi Handa <handa@m17n.org>
date Mon, 27 Jul 2009 04:19:03 +0000
parents 2658bfb08516
children 917282acffdc
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Mon Jul 27 02:02:49 2009 +0000
+++ b/src/xfaces.c	Mon Jul 27 04:19:03 2009 +0000
@@ -4958,6 +4958,7 @@
   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 */