changeset 91348:40fcad327dd1

(set_lface_from_font_and_fontset): Set the fontname in lface.
author Kenichi Handa <handa@m17n.org>
date Wed, 23 Jan 2008 11:14:12 +0000
parents 5c68d57a8dab
children 5148dc1ed8c3
files src/xfaces.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Tue Jan 22 12:03:33 2008 +0000
+++ b/src/xfaces.c	Wed Jan 23 11:14:12 2008 +0000
@@ -3694,7 +3694,8 @@
       LFACE_SWIDTH (lface) = ! NILP (val) ? val : width;
     }
 
-  LFACE_FONT (lface) = font_object;
+  LFACE_FONT (lface) = make_unibyte_string (font->font.full_name,
+					    strlen (font->font.full_name));
   LFACE_FONTSET (lface) = fontset_name (fontset);
 }
 #endif	/* USE_FONT_BACKEND */