Commit 7c0b3f4d authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(set_lface_from_font_and_fontset): Set the fontname in

lface.
parent 4ae9e007
......@@ -3694,7 +3694,8 @@ set_lface_from_font_and_fontset (f, lface, font_object, fontset, force_p)
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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment