From: Kenichi Handa Date: Thu, 15 Jan 2004 12:10:04 +0000 (+0000) Subject: (new_fontset_from_font_name): Use the specified font X-Git-Tag: emacs-pretest-23.0.90~8295^2~1637 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ec7fd700a74aba5bb7a3515ddb81ba470b560ff;p=emacs.git (new_fontset_from_font_name): Use the specified font for all characters in the new fontset. --- 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