Mercurial > emacs
diff src/xfaces.c @ 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 | 04866c5fd4b5 |
children | 33d1c8d91e5e |
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 */