From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57962: 29.0.50; Odd font choices Date: Wed, 21 Sep 2022 10:19:37 +0800 Message-ID: <87h711ii4m.fsf@yahoo.com> References: <87edw5adz1.fsf@gnus.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11917"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 57962@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 21 04:20:14 2022 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 1oapLQ-0002vB-It for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 04:20:12 +0200 Original-Received: from localhost ([::1]:39524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oapLP-0005UZ-Fz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 22:20:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oapLH-0005U3-8j for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 22:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32815) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oapLH-0005xH-0j for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 22:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oapLG-0001qo-FW for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 22:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Sep 2022 02:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57962 X-GNU-PR-Package: emacs Original-Received: via spool by 57962-submit@debbugs.gnu.org id=B57962.16637267997101 (code B ref 57962); Wed, 21 Sep 2022 02:20:02 +0000 Original-Received: (at 57962) by debbugs.gnu.org; 21 Sep 2022 02:19:59 +0000 Original-Received: from localhost ([127.0.0.1]:60126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oapLD-0001qT-68 for submit@debbugs.gnu.org; Tue, 20 Sep 2022 22:19:59 -0400 Original-Received: from sonic315-21.consmr.mail.ne1.yahoo.com ([66.163.190.147]:43937) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oapLA-0001qC-Bm for 57962@debbugs.gnu.org; Tue, 20 Sep 2022 22:19:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663726788; bh=f2b/dPW+CBJqkUb+VrKqKxhqTWkjVWe6dikA6di+7Lw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=cBHP4itE+vHT8nqv7t5KL1SWqopAY21fwwdjh8829zWGjF6+zDDPjNgIiH9qrtbywP1eOgZUiq2zLl9wfh2VXHuJq0xpTxFKn/eKd07T4XdDFzz/8LqiRCravvyMzuZsYxpw6oJ9JlzZ90JM8a6HLU6YYPAe6/bDrtyz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IVt6IcepZoydb_jdr_Pg0uMvY4a6easqZ3_ILxlkRloO_WHYYW3YQhl6O gQqW0w6_pHQjDaDZ8vmkypTpeAqsbQU1D_1d8k_apVn_9nx.jG.4ixxcNTbh.n9It5bufO0JBFf3 HCeconaF9H9j38o5jcoIK8iHJEAQj0aCZU7Lw1dHQEXhTOrskLI5WgnVEGJydGl5oR949wbmntmq LvUUS9zzAPO538ySI03LY8thleW1MMo3DMhKzeX1mUr20qTKUtySLKAjrBba8b2U9nq5DfZecXeO hLYqH61NRKan4MavgNwkASBVQATD0zqfDtG6LZHWBMEJ0iCS6AX3vZTaCMaYKn0Ff2TyrIYXZizg g433Iq7h.nx8UmXoQVqo4F5u0sD_YPGauzHV2C6P6IHY8aLlwD6terlU5Ws.p0SXEl6vy.kcthe0 xgy3MgmsDonD2KU_6mNtyPFgmZOFbpHp4knNkgZ.xC X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Wed, 21 Sep 2022 02:19:48 +0000 Original-Received: by hermes--production-sg3-6d76f6b48d-pbxmd (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID cfaf0745ebfb021d63288f0e7bcebe1d; Wed, 21 Sep 2022 02:19:42 +0000 (UTC) In-Reply-To: <87edw5adz1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 21 Sep 2022 00:16:34 +0200") X-Mailer: WebService/1.1.20699 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:243263 Archived-At: Lars Ingebrigtsen writes: > I'm not sure when this started happening, but probably not more than a > month ago. > > An image to illustrate the problem: > > > > >>>From "emacs -Q" (but not with my normal font choices), the font used for > the help-key-binding face is larger than the rest of the text, making > various things kinda ugly. > > The normal text uses: > > ftcrhb:-DAMA-Ubuntu Mono-regular-normal-normal-*-45-*-*-*-m-0-iso10646-1 (#x55) > > The keyboard text is: > > ftcrhb:-PfEd-DejaVu Sans Mono-regular-normal-normal-*-45-*-*-*-m-0-iso10646-1 (#x52) > > And the help-key-binding face is: > > (defface help-key-binding > '((((class color) (min-colors 88) (background light)) > [...] > :inherit fixed-pitch) > > and > > (defface fixed-pitch > '((t :family "Monospace")) > "The basic fixed-pitch face." > :group 'basic-faces) > > So this chooses a different font than > > (defface default > '((t nil)) ; If this were nil, face-defface-spec would not be set. > "Basic default face." > :group 'basic-faces) > > ? Yes, "Monospace" is mapped to a special font family by fontconfig, sometimes different than the monospace font specified via xsettings. I think the best thing to do would be to change fixed-pitch to be affected by xsettings as well, but I'm not quite sure how to go about doing that.