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

(set_lface_from_font_name): If a font is specified for

a frame, generate a fontset from the font.
parent e071f4f2
......@@ -3360,7 +3360,12 @@ set_lface_from_font_name (f, lface, fontname, force_p, may_fail_p)
LFACE_FONTSET (lface) = fontset_name (fontset);
LFACE_FONT (lface) = fontname;
= new_fontset_from_font_name (build_string (font_info->full_name));
LFACE_FONTSET (lface) = fontset_name (fontset);
return 1;
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