1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08:00

(new_fontset_from_font_name): Use the specified font

for all characters in the new fontset.
This commit is contained in:
Kenichi Handa 2004-01-15 12:10:04 +00:00
parent 1a85d48230
commit 2ec7fd700a

View file

@ -1522,7 +1522,9 @@ new_fontset_from_font_name (Lisp_Object fontname)
ASET (vec, 13, build_string (temp));
name = build_font_name_from_vector (vec);
}
name = Fnew_fontset (name, Fcons (Fcons (Qascii, Fcons (fontname, Qnil)),
name = Fnew_fontset (name, Fcons (Fcons (Fcons (make_number (0),
make_number (MAX_CHAR)),
Fcons (fontname, Qnil)),
Qnil));
id = fs_query_fontset (name, 0);
auto_fontset_alist