From 2ec7fd700a74aba5bb7a3515ddb81ba470b560ff Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 15 Jan 2004 12:10:04 +0000 Subject: [PATCH] (new_fontset_from_font_name): Use the specified font for all characters in the new fontset. --- src/fontset.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fontset.c b/src/fontset.c index 7fb1abbbd5f..db203450927 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -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 -- 2.39.2