]> git.eshelyaron.com Git - emacs.git/commitdiff
(face_with_height): Call font_clear_prop.
authorKenichi Handa <handa@m17n.org>
Mon, 27 Jul 2009 04:19:57 +0000 (04:19 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 27 Jul 2009 04:19:57 +0000 (04:19 +0000)
src/ChangeLog
src/xfaces.c

index 0205c76c38d55f211a1d8cad4e318c768cfc366d..bc3f9b57ba4dacf75b2f3de3b20f12a91f0dd5aa 100644 (file)
@@ -1,3 +1,7 @@
+2009-07-27  Kenichi Handa  <handa@m17n.org>
+
+       * xfaces.c (face_with_height): Call font_clear_prop.
+
 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
 
        * dispnew.c (init_display): Use Qx, Qw32, and Qns.
index 3faaf247296f6f57f45d4a258106a91e4f58f093..4f808e41beb214907a5f4f62b9eb62e13406d407 100644 (file)
@@ -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 */