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: Thu, 30 Jan 2020 15:06:55 +0900 Message-ID: <86tv4djx4w.fsf@gmail.com> References: <86h80e29xo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="37092"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39339@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 30 07:08:14 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 1ix2zr-0009Y8-T1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Jan 2020 07:08:11 +0100 Original-Received: from localhost ([::1]:56216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ix2zq-0000WT-Gy for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Jan 2020 01:08:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47482) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ix2zj-0000WA-Jq for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2020 01:08:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ix2zi-0006Wr-Ds for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2020 01:08:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ix2zi-0006We-Av for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2020 01:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ix2zi-0006hr-5G for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2020 01:08: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: Thu, 30 Jan 2020 06:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39339 X-GNU-PR-Package: emacs Original-Received: via spool by 39339-submit@debbugs.gnu.org id=B39339.158036442825626 (code B ref 39339); Thu, 30 Jan 2020 06:08:02 +0000 Original-Received: (at 39339) by debbugs.gnu.org; 30 Jan 2020 06:07:08 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <83mua6m86m.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 29 Jan 2020 20:25:21 +0200") 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:175429 Archived-At: 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?