From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: ynyaaa@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#39339: 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 Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="111953"; mail-complaints-to="usenet@ciao.gmane.io" To: 39339@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 29 04:56:15 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iweSd-000T4S-5E for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jan 2020 04:56:15 +0100 Original-Received: from localhost ([::1]:40516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iweSb-0004mx-RC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Jan 2020 22:56:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58635) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iweST-0004ml-FU for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2020 22:56:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iweSR-0006gJ-KD for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2020 22:56:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iweSQ-0006fX-KQ for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2020 22:56:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iweSQ-0000Sj-J1 for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2020 22:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jan 2020 03:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39339 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15802701431751 (code B ref -1); Wed, 29 Jan 2020 03:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Jan 2020 03:55:43 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:175378 Archived-At: 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))