From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#57962: 29.0.50; Odd font choices Date: Mon, 17 Oct 2022 11:57:12 +0200 Message-ID: <87czaqg4cn.fsf@gnus.org> References: <87edw5adz1.fsf@gnus.org> <87h711ii4m.fsf@yahoo.com> <871qs59fds.fsf@gnus.org> <87tu46aazr.fsf@gnus.org> <83h7068v7g.fsf@gnu.org> <878rlia9a0.fsf@gnus.org> <83czau8tu7.fsf@gnu.org> <87r0za8tbf.fsf@gnus.org> <83a65y8srh.fsf@gnu.org> <87ilkm8sha.fsf@gnus.org> <837d128sbf.fsf@gnu.org> <874jw4jar9.fsf@gnus.org> <83tu443tlo.fsf@gnu.org> <87v8okhsg8.fsf@gnus.org> <83lepf50zn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14480"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: luangruo@yahoo.com, 57962@debbugs.gnu.org, Stefan Kangas To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 17 12:00:31 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 1okMv8-0003Wx-C2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 12:00:30 +0200 Original-Received: from localhost ([::1]:38504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okMv6-0002it-EV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 06:00:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okMsk-0000lL-1w for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 05:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48306) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okMsj-0007fW-Pb for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 05:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okMsj-0000TY-Ky for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 05:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2022 09:58:01 +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.16660006461781 (code B ref 57962); Mon, 17 Oct 2022 09:58:01 +0000 Original-Received: (at 57962) by debbugs.gnu.org; 17 Oct 2022 09:57:26 +0000 Original-Received: from localhost ([127.0.0.1]:47384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okMsA-0000Se-Fz for submit@debbugs.gnu.org; Mon, 17 Oct 2022 05:57:26 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:54168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okMs6-0000SQ-Me for 57962@debbugs.gnu.org; Mon, 17 Oct 2022 05:57:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; 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=qXFUXwyETReDsisxG5JHKeErRa2MLvVpIU11yN31E9A=; b=Snq2XgYVbWnoHvyhhV6hr+YbbM ot6zsMX48iPQb2YOp76tc4iVkKOEBI9WSk6/c/IOMiBIVGXPVFt23VWGKDCn8DRCVtFRMmEnl5pZC xNNJ2AsqQW/XA7LbVPP6UsHG+4Jl4EIglDeAtexBBu8gmoA76765EG5Onr+LRrcFZJ6Q=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1okMrx-0007FW-6A; Mon, 17 Oct 2022 11:57:15 +0200 In-Reply-To: <83lepf50zn.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 16 Oct 2022 16:53:00 +0300") X-Now-Playing: THE PRODIGY's _Gabber Face_: "GABBER STARTER" 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:245709 Archived-At: Eli Zaretskii writes: > Strange. But I'm not sure I understand the meaning of the 48 think in > the font's XLFD signature. After googling "difference in font sizes", it's reminded me what I knew before, but had apparently suppressed -- those numbers don't really mean much, and actual font sizes just vary according to the font designers' whims. So there is no way to say "I have font X, give me font Y of the same size". So I think we just have to mitigate this on a practical level, and the practical problem we have is that we expect a (fixed pitch) `default' font to have the same size as the `help-key-binding' font, since we mix these faces so much in our displays, and we want them to line up in tabular outputs. This means that we can either remove ":inherit fixed-pitch" from the latter face -- and that would fix the problem in 99.7% of the cases. But ideally, we'd like to have that face be fixed-pitch even if `default' uses a proportional font (which is possibly, but very very unusual). To achieve that we'd have to implement something like :inherit (if (monospacep 'default) 'default 'fixed-pitch) or something? Or any other ideas? (I've added Stefan K to the CCs; perhaps he has ideas here.)