aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2008-01-23 11:14:12 +0000
committerKenichi Handa2008-01-23 11:14:12 +0000
commit7c0b3f4dc812920bec710d56e7f48b3cf0b83dd3 (patch)
treeb54e00a326e3bcccdde311ce47d6e90531888cde /src
parent4ae9e0078169fa763e4ed031b506ae19f12816e1 (diff)
downloademacs-7c0b3f4dc812920bec710d56e7f48b3cf0b83dd3.tar.gz
emacs-7c0b3f4dc812920bec710d56e7f48b3cf0b83dd3.zip
(set_lface_from_font_and_fontset): Set the fontname in
lface.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index ce7e9bec498..4f3509ebd30 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -3694,7 +3694,8 @@ set_lface_from_font_and_fontset (f, lface, font_object, fontset, force_p)
3694 LFACE_SWIDTH (lface) = ! NILP (val) ? val : width; 3694 LFACE_SWIDTH (lface) = ! NILP (val) ? val : width;
3695 } 3695 }
3696 3696
3697 LFACE_FONT (lface) = font_object; 3697 LFACE_FONT (lface) = make_unibyte_string (font->font.full_name,
3698 strlen (font->font.full_name));
3698 LFACE_FONTSET (lface) = fontset_name (fontset); 3699 LFACE_FONTSET (lface) = fontset_name (fontset);
3699} 3700}
3700#endif /* USE_FONT_BACKEND */ 3701#endif /* USE_FONT_BACKEND */