From unknown Sun Jun 22 13:35:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39339 <39339@debbugs.gnu.org> To: bug#39339 <39339@debbugs.gnu.org> Subject: Status: 26.3; set-fontset-font does not replace some glyphs Reply-To: bug#39339 <39339@debbugs.gnu.org> Date: Sun, 22 Jun 2025 20:35:09 +0000 retitle 39339 26.3; set-fontset-font does not replace some glyphs reassign 39339 emacs submitter 39339 ynyaaa@gmail.com severity 39339 normal tag 39339 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 28 22:55:43 2020 Received: (at submit) by debbugs.gnu.org; 29 Jan 2020 03:55:43 +0000 Received: from localhost ([127.0.0.1]:33137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iweS6-0000SA-Lj for submit@debbugs.gnu.org; Tue, 28 Jan 2020 22:55:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:34963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iweS4-0000S2-2f for submit@debbugs.gnu.org; Tue, 28 Jan 2020 22:55:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58357) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iweS2-0004l9-JZ for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2020 22:55:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iweS1-0005wD-7v for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2020 22:55:38 -0500 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:37787) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iweS1-0005v6-1m for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2020 22:55:37 -0500 Received: by mail-pl1-x632.google.com with SMTP id c23so5939057plz.4 for ; Tue, 28 Jan 2020 19:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=F9Nvlj+OGnxTY+4I3OshOK9CtjxMSuoQX5Vjd3kHQKI=; b=r2pY/k6/zS7dO14OTHMhjHsLL6dnMs4+3UXAxQaskjiWjzvmYp4bnpiQzVM6PWe4CK 810Vd3bZSAaA++ADtbaOwR3ZClnFtL9PAoDLXH2cZ6Nst9w/7kaFamD+9yGTcDpFt7FS vJFStvzRL7tm8KuzXiSZzVWUuD3RkTg0UKo3xlVX8Nzksr1/3MlG9gCsHVWnBSs95Dps oeToaQl7B8xu580DhO0EsreJX/1YbdMxZLp+HNduNI16yN5fIhZ9YRSQeo4YIZHLOa8y Cxyz5QTuB2q0b9opLyU7ZxdTSt766HqDI2GFsU7Y3Srgwr4QIUddckGoqGZ8z472vSfV sDkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=F9Nvlj+OGnxTY+4I3OshOK9CtjxMSuoQX5Vjd3kHQKI=; b=hlu3h4RZ/u7q4jdUey4Zer8Q+LWs71SKBSdLCUZrwjJ3QickEL1II6ZuibjDfMlUwQ HCxlk90LQswmYQb1+PZYb+QwFAnve8PLBL9LkJe3Qsst2Q5ZNx3ZNaMgwyIMpm90OYcp L3ETudIlvjCg6Q+pHQ8i5SK3GCebsIfYSJKPgdqFTksAt6PFpy/QKnTua3NqOpIIrjar 9L5fT5SYa7KcaMsTyhjefehwApfAeE0UdwelN7YTlWEiSH6jdNaNyVDio3f5oRijKtSo aGbm55K5Z58pC8VmR2FVY8owsQPFT1NIoutUnDHYqVYodyMErPXDiW9qe++dQ9itPqw1 RXww== X-Gm-Message-State: APjAAAW6uqzUPejmhNxKnXkLuKLCeIoggWEAprX5/wicUoeNu6mlpXOl /OhMZCwO5lhvHpbgFswgIPoQ85mw X-Google-Smtp-Source: APXvYqxoanaxv/pGQuiaAKu2yUpl9Ii6SDDFGAya4+LgfP4hKM84/7+RKZbPv5ojdOkhRuS6XUB4PA== X-Received: by 2002:a17:902:b682:: with SMTP id c2mr26355025pls.127.1580270135503; Tue, 28 Jan 2020 19:55:35 -0800 (PST) Received: from HP (east42-p111.eaccess.hi-ho.ne.jp. [219.121.173.112]) by smtp.gmail.com with ESMTPSA id q21sm513702pff.105.2020.01.28.19.55.34 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Jan 2020 19:55:34 -0800 (PST) From: ynyaaa@gmail.com To: bug-gnu-emacs@gnu.org Subject: 26.3; set-fontset-font does not replace some glyphs Date: Wed, 29 Jan 2020 12:55:31 +0900 Message-ID: <86h80e29xo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::632 X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I installed Noto fonts, and tried to set up fontset composed of "Noto Sans Mono" and "Noto Sans Mono CJK JP Regular". For some characters "Noto Sans Mono CJK JP Regular" has wide glyphs. Evaluating the form below, only characters #x00A7 #x00B1 #x00B6 #x00D7 #x00F7 #x02C7 #x02C9 #x02CA #x02CB #x02D9 are displayed with wide glyphs, and other characters listed in the form are displayed w [...] Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ynyaaa[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I installed Noto fonts, and tried to set up fontset composed of "Noto Sans Mono" and "Noto Sans Mono CJK JP Regular". For some characters "Noto Sans Mono CJK JP Regular" has wide glyphs. Evaluating the form below, only characters #x00A7 #x00B1 #x00B6 #x00D7 #x00F7 #x02C7 #x02C9 #x02CA #x02CB #x02D9 are displayed with wide glyphs, and other characters listed in the form are displayed with narrow glyphs. (let ((base-font "Noto Sans Mono") (alt-font "Noto Sans Mono CJK JP Regular") (l '(#x00A7 #x00B1 #x00B6 #x00D7 #x00F7 #x02C7 #x02C9 #x02CA #x02CB #x02D9 #x2015 #x2016 #x2020 #x2021 #x2025 #x2027 #x2030 #x2035 #x203B #x2042 #x2051 #x2100 #x2103 #x2105 #x2109 #x210A #x210F #x2116 #x2121 #x2126 #x2127 #x212B #x2135 #x213B #x221A #x221E #x2229 #x2248 #x2261 #x2264 #x2265 (#x2500 . #x25A0)))) (set-frame-font base-font) (dolist (c l) (set-fontset-font t c alt-font))) For example, C-U C-x = on #x00A7 shows in *Help* buffer: character: § (displayed as §) (codepoint 167, #o247, #xa7) display: by this font (glyph code) uniscribe:-outline-Noto Sans Mono CJK JP Regular-normal-normal-normal-sans-13-*-*-*-p-*-iso8859-1 (#x66) And C-U C-x = on #x25A0 shows in *Help* buffer: character: ■ (displayed as ■) (codepoint 9632, #o22640, #x25a0) display: by this font (glyph code) uniscribe:-outline-Noto Sans Mono-normal-normal-normal-mono-13-*-*-*-p-*-ascii-0 (#x78E) If 'face property with :family "Noto Sans Mono CJK JP Regular" attribute is put on such characters, wide glyphs are displayed. In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 built on CIRROCUMULUS Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor 'Microsoft Corp.', version 10.0.18363 Recent messages: Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/bobcat elec-pair time-date mule-util japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 99488 8352) (symbols 48 20227 1) (miscs 40 37 118) (strings 32 29809 1439) (string-bytes 1 765970) (vectors 16 14546) (vector-slots 8 572451 11096) (floats 8 51 106) (intervals 56 228 0) (buffers 992 12)) From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 29 13:25:32 2020 Received: (at 39339) by debbugs.gnu.org; 29 Jan 2020 18:25:32 +0000 Received: from localhost ([127.0.0.1]:34586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iws1s-0002Vq-Kq for submit@debbugs.gnu.org; Wed, 29 Jan 2020 13:25:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iws1r-0002Vc-JH for 39339@debbugs.gnu.org; Wed, 29 Jan 2020 13:25:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iws1m-0006L2-Fp; Wed, 29 Jan 2020 13:25:26 -0500 Received: from [176.228.60.248] (port=4350 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iws1j-00036G-6Y; Wed, 29 Jan 2020 13:25:25 -0500 Date: Wed, 29 Jan 2020 20:25:21 +0200 Message-Id: <83mua6m86m.fsf@gnu.org> From: Eli Zaretskii To: ynyaaa@gmail.com In-reply-to: <86h80e29xo.fsf@gmail.com> (ynyaaa@gmail.com) Subject: Re: bug#39339: 26.3; set-fontset-font does not replace some glyphs References: <86h80e29xo.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39339 Cc: 39339@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: ynyaaa@gmail.com > Date: Wed, 29 Jan 2020 12:55:31 +0900 > > I installed Noto fonts, and tried to set up fontset composed of > "Noto Sans Mono" and "Noto Sans Mono CJK JP Regular". > For some characters "Noto Sans Mono CJK JP Regular" has wide glyphs. > > Evaluating the form below, only characters > #x00A7 #x00B1 #x00B6 #x00D7 #x00F7 #x02C7 #x02C9 #x02CA #x02CB #x02D9 > are displayed with wide glyphs, > and other characters listed in the form are displayed with narrow glyphs. > > (let ((base-font "Noto Sans Mono") > (alt-font "Noto Sans Mono CJK JP Regular") > (l '(#x00A7 #x00B1 #x00B6 #x00D7 #x00F7 > #x02C7 #x02C9 #x02CA #x02CB #x02D9 > #x2015 #x2016 #x2020 #x2021 #x2025 #x2027 #x2030 > #x2035 #x203B #x2042 #x2051 > #x2100 #x2103 #x2105 #x2109 #x210A #x210F #x2116 > #x2121 #x2126 #x2127 #x212B #x2135 #x213B > #x221A #x221E #x2229 #x2248 #x2261 #x2264 #x2265 > (#x2500 . #x25A0)))) > (set-frame-font base-font) > (dolist (c l) (set-fontset-font t c alt-font))) This makes "Noto Sans Mono" the default face's font, so it will be used for any character supported by the font. If that's what you see, then it's the intended behavior, AFAIK. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 30 01:07:08 2020 Received: (at 39339) by debbugs.gnu.org; 30 Jan 2020 06:07:08 +0000 Received: from localhost ([127.0.0.1]:34871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ix2yq-0006fA-FS for submit@debbugs.gnu.org; Thu, 30 Jan 2020 01:07:08 -0500 Received: from mail-pl1-f179.google.com ([209.85.214.179]:42683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ix2yo-0006au-PC for 39339@debbugs.gnu.org; Thu, 30 Jan 2020 01:07:07 -0500 Received: by mail-pl1-f179.google.com with SMTP id p9so920246plk.9 for <39339@debbugs.gnu.org>; Wed, 29 Jan 2020 22:07:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version; bh=J6VyRxfFSfxBB4WAUeXAluqbQL7mfLPjiUTWVs9cM6E=; b=VImEMyG7OdBgiD8RZmhKNpESZuxxhsmzZNXiou9Yg+OWF0Ra5DZui6jAOtv2HddW+a tOghmHwB3WZPar5yeyO6DYJpjLvyz62Q63Y/vUhC89QGUCmmoQ+vwPYRoy3wM02gYnS1 Fs2xRBVsEuWBPw8IsmvMUsMyrD87zK5DM1tNEKtijXe3kIiNpEKR85vqYAyRUIGZRoco U+7wvoNn6imhQsjeS35o5lpieQuJjMAJokV1avfz+huqf0NOczGScA4TcO0t/hdDke6/ 5654nHhAhSCZj87PRLYKt23NsRLIKWm5sMQNW7umm6pvQKXiPMYxB6NAzYRmWLKsDdaq UEaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :mime-version; bh=J6VyRxfFSfxBB4WAUeXAluqbQL7mfLPjiUTWVs9cM6E=; b=VrkRa1ODQ9zwM9y3/oV95Rz9ojTMX0Vxh7joy7rMZdnQtUHrWFSZreeNM8CsN66K47 TyXbCo174Oe7BGEe3vXSvqHWMF4GAhnSHBaxt6ASRyfbXSPputZn+658Akxb2GmT17Rb gBvEwmb0xZjx674Pb7FvPnQh1UecoVRALN0D3ek+CUv+8Cnsmlc9XRD4P8axag7YscCU ZfJFEfb1/mzjWxoyWhZXyHaQGSvgS74F+1pYbvkzDlkaPedrzHP9u9rkYx3Dm0ZoFSfD xDMejqUcC/tGWfJ9Ex53ouE3fhWP47V+WnqIOahiQzi8zLuqkCJGqzFvSGzmFe2YNIAZ 0GIA== X-Gm-Message-State: APjAAAXLqCGyUyjVTuijXDKyD0AtPSCeVSk3ga4OXEEaToX0Hh1SgvSE i+XM2kwppJ+4RONk+mgljM1Q6FJM X-Google-Smtp-Source: APXvYqzP1gyPGg7Ft20HAGRm/YxEMhEY8WAhX8ysZQdCGQUkte/RDJ5P9P4duNDQ3RniVY1jZZz+Jg== X-Received: by 2002:a17:90a:d789:: with SMTP id z9mr4115757pju.5.1580364420622; Wed, 29 Jan 2020 22:07:00 -0800 (PST) Received: from HP (east42-p111.eaccess.hi-ho.ne.jp. [219.121.173.112]) by smtp.gmail.com with ESMTPSA id c15sm5149168pja.30.2020.01.29.22.06.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Jan 2020 22:06:59 -0800 (PST) From: ynyaaa@gmail.com To: Eli Zaretskii Subject: Re: bug#39339: 26.3; set-fontset-font does not replace some glyphs In-Reply-To: <83mua6m86m.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 29 Jan 2020 20:25:21 +0200") Date: Thu, 30 Jan 2020 15:06:55 +0900 Message-ID: <86tv4djx4w.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39339 Cc: 39339@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: ynyaaa@gmail.com >> Date: Wed, 29 Jan 2020 12:55:31 +0900 >> >> I installed Noto fonts, and tried to set up fontset composed of >> "Noto Sans Mono" and "Noto Sans Mono CJK JP Regular". >> For some characters "Noto Sans Mono CJK JP Regular" has wide glyphs. >> >> Evaluating the form below, only characters >> #x00A7 #x00B1 #x00B6 #x00D7 #x00F7 #x02C7 #x02C9 #x02CA #x02CB #x02D9 >> are displayed with wide glyphs, >> and other characters listed in the form are displayed with narrow glyphs. >> >> (let ((base-font "Noto Sans Mono") >> (alt-font "Noto Sans Mono CJK JP Regular") >> (l '(#x00A7 #x00B1 #x00B6 #x00D7 #x00F7 >> #x02C7 #x02C9 #x02CA #x02CB #x02D9 >> #x2015 #x2016 #x2020 #x2021 #x2025 #x2027 #x2030 >> #x2035 #x203B #x2042 #x2051 >> #x2100 #x2103 #x2105 #x2109 #x210A #x210F #x2116 >> #x2121 #x2126 #x2127 #x212B #x2135 #x213B >> #x221A #x221E #x2229 #x2248 #x2261 #x2264 #x2265 >> (#x2500 . #x25A0)))) >> (set-frame-font base-font) >> (dolist (c l) (set-fontset-font t c alt-font))) > > This makes "Noto Sans Mono" the default face's font, so it will be > used for any character supported by the font. If that's what you see, > then it's the intended behavior, AFAIK. With '(setq use-default-font-for-symbols nil)', the glyphs are displayed as I intended. How can I find this variable? And what characters are considered to be symbols and punctuation? From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 30 09:46:05 2020 Received: (at 39339) by debbugs.gnu.org; 30 Jan 2020 14:46:05 +0000 Received: from localhost ([127.0.0.1]:35141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixB52-00066a-MR for submit@debbugs.gnu.org; Thu, 30 Jan 2020 09:46:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixB50-00065l-Cy; Thu, 30 Jan 2020 09:46:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ixB4v-0001EZ-7u; Thu, 30 Jan 2020 09:45:57 -0500 Received: from [176.228.60.248] (port=2638 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ixB4l-0005dM-OP; Thu, 30 Jan 2020 09:45:54 -0500 Date: Thu, 30 Jan 2020 16:45:48 +0200 Message-Id: <83eevhm28z.fsf@gnu.org> From: Eli Zaretskii To: ynyaaa@gmail.com In-reply-to: <86tv4djx4w.fsf@gmail.com> (ynyaaa@gmail.com) Subject: Re: bug#39339: 26.3; set-fontset-font does not replace some glyphs References: <86tv4djx4w.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39339 Cc: 39339@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) tags 39339 notabug thanks > From: ynyaaa@gmail.com > Cc: 39339@debbugs.gnu.org > Date: Thu, 30 Jan 2020 15:06:55 +0900 > > >> (let ((base-font "Noto Sans Mono") > >> (alt-font "Noto Sans Mono CJK JP Regular") > >> (l '(#x00A7 #x00B1 #x00B6 #x00D7 #x00F7 > >> #x02C7 #x02C9 #x02CA #x02CB #x02D9 > >> #x2015 #x2016 #x2020 #x2021 #x2025 #x2027 #x2030 > >> #x2035 #x203B #x2042 #x2051 > >> #x2100 #x2103 #x2105 #x2109 #x210A #x210F #x2116 > >> #x2121 #x2126 #x2127 #x212B #x2135 #x213B > >> #x221A #x221E #x2229 #x2248 #x2261 #x2264 #x2265 > >> (#x2500 . #x25A0)))) > >> (set-frame-font base-font) > >> (dolist (c l) (set-fontset-font t c alt-font))) > > > > This makes "Noto Sans Mono" the default face's font, so it will be > > used for any character supported by the font. If that's what you see, > > then it's the intended behavior, AFAIK. > > With '(setq use-default-font-for-symbols nil)', the glyphs are displayed > as I intended. Good, then there's no bug here. > How can I find this variable? But you just did (with a bit of help from me). If you are asking about its discoverability, then this variable is supposed to be important in very infrequent situations, so it is not very visible. As evidence to that effect, please note that by default Emacs does display these characters, which is not a small feat for Emacs to achieve, given that most fonts on Windows are not free. > And what characters are considered to be symbols and punctuation? Any character CH for which (aref char-script-table CH) => symbol From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 10:35:52 2020 Received: (at 39339-done) by debbugs.gnu.org; 10 Feb 2020 15:35:52 +0000 Received: from localhost ([127.0.0.1]:55231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1B6G-0000Cu-FE for submit@debbugs.gnu.org; Mon, 10 Feb 2020 10:35:52 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:55028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1B6F-0000Ci-I1 for 39339-done@debbugs.gnu.org; Mon, 10 Feb 2020 10:35:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Or4N7qbpJ3otCaKEXZzrVb8Zr8U1NAZIRicydcirbSE=; b=B6sjZ8FQRaMtIGAtiU5UmD3EAz bYPZphQ9F55jO2teGcqhrJhB9dzeTL1Cw96YkJ+74Ufx0JPBM1mC/Md55t2mmgQycS6PObSDxLMGi 5dB6hQ9ByL8XEY6IXq2oSj4sLA9oC43YpxKZDyzybjkG2K46/Ew+jz4BPuY7YL5DLfpPZ/RXHEJYJ IZT5hC4KcEpRURHB6R9icV3OYdD55fotEjPDohHJX+pZE1M+fPWAsa4e9OJ9favh30bIf9WfUSgrw zVEbBPmjkVdzXPhU3lggjLRBiVWXA2jW33toKDC+c7jslj4+aeA7lWh5QNX6l2+w7+ECa6bzCRcul m9lGsmgQ==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:46722 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1j1B69-000n1m-O4; Mon, 10 Feb 2020 10:35:46 -0500 From: Stefan Kangas To: Eli Zaretskii Subject: Re: bug#39339: 26.3; set-fontset-font does not replace some glyphs In-Reply-To: <83eevhm28z.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 30 Jan 2020 16:45:48 +0200") References: <86tv4djx4w.fsf@gmail.com> <83eevhm28z.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Mon, 10 Feb 2020 16:35:43 +0100 Message-ID: <87imke5ub4.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39339-done Cc: 39339-done@debbugs.gnu.org, ynyaaa@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > tags 39339 notabug > thanks > >> From: ynyaaa@gmail.com >> Cc: 39339@debbugs.gnu.org >> Date: Thu, 30 Jan 2020 15:06:55 +0900 >> >> >> (let ((base-font "Noto Sans Mono") >> >> (alt-font "Noto Sans Mono CJK JP Regular") >> >> (l '(#x00A7 #x00B1 #x00B6 #x00D7 #x00F7 >> >> #x02C7 #x02C9 #x02CA #x02CB #x02D9 >> >> #x2015 #x2016 #x2020 #x2021 #x2025 #x2027 #x2030 >> >> #x2035 #x203B #x2042 #x2051 >> >> #x2100 #x2103 #x2105 #x2109 #x210A #x210F #x2116 >> >> #x2121 #x2126 #x2127 #x212B #x2135 #x213B >> >> #x221A #x221E #x2229 #x2248 #x2261 #x2264 #x2265 >> >> (#x2500 . #x25A0)))) >> >> (set-frame-font base-font) >> >> (dolist (c l) (set-fontset-font t c alt-font))) >> > >> > This makes "Noto Sans Mono" the default face's font, so it will be >> > used for any character supported by the font. If that's what you see, >> > then it's the intended behavior, AFAIK. >> >> With '(setq use-default-font-for-symbols nil)', the glyphs are displayed >> as I intended. > > Good, then there's no bug here. I'm consequently also closing this bug report. Best regards, Stefan Kangas From unknown Sun Jun 22 13:35:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 10 Mar 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator