From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#57962: 29.0.50; Odd font choices Date: Mon, 17 Oct 2022 14:20:06 +0000 Message-ID: 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> <87czaqg4cn.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1575"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 57962@debbugs.gnu.org To: Lars Ingebrigtsen , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 17 16:21:20 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 1okQzY-0000C2-4f for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 16:21:20 +0200 Original-Received: from localhost ([::1]:60582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okQzW-0005la-QJ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Oct 2022 10:21:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okQzG-0005jS-KL for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 10:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okQzF-0003cg-Qn for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 10:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okQzF-00020N-Ls for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2022 10:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2022 14:21: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.16660164167596 (code B ref 57962); Mon, 17 Oct 2022 14:21:01 +0000 Original-Received: (at 57962) by debbugs.gnu.org; 17 Oct 2022 14:20:16 +0000 Original-Received: from localhost ([127.0.0.1]:49569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okQyV-0001yS-R6 for submit@debbugs.gnu.org; Mon, 17 Oct 2022 10:20:16 -0400 Original-Received: from mail-oi1-f177.google.com ([209.85.167.177]:35374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okQyT-0001yA-7k for 57962@debbugs.gnu.org; Mon, 17 Oct 2022 10:20:13 -0400 Original-Received: by mail-oi1-f177.google.com with SMTP id u15so12262792oie.2 for <57962@debbugs.gnu.org>; Mon, 17 Oct 2022 07:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=aAyBOKN/jQKQtRMkEcsQbogEgY3OLBcmnZ2YHI4YNEE=; b=FS3R/gryrL1v/oPKHpD8POgAiCdlannf2ghzzOkm/kKufhTiZtkdUO8d0vTazFAXct 8GrKjUYt52bc3RQN9qDDKLGzdiGS3qkDx4D5hyrGnrDF6zHnkVR2C4Q6W5bf5C+9Xtm0 8Wcvc7FdnC7GrSds0IH2qpF8q0TZdZ/MERKgC2jjEMdnJtBOpCviYTLCtdaYkoWszidh v1SlOF+qDTFB7kORR3HRCIJIQ7DJSm2jIPLtzono2i0WqRJdRCdxeQiu6BfHo+WFQFH8 q6GvBez30BvKtTP9bmgsyPsg1u4ZQPXYrNmxSMLjFE5B8lZwW4M+ljNPZYDutz2GcFJx kXfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aAyBOKN/jQKQtRMkEcsQbogEgY3OLBcmnZ2YHI4YNEE=; b=pkfKe+xbxqBRUtXqP6Q3/4l795cgS1oG+LLhjg6BG0sYx9gHTJhXXcohjWVkUzACr0 QHeRFBaerXbfXqXzCiIAy5dWpi45BTFbggJ3t3yzqLubzCAy62AJ2QqvbkobxfQBmOz6 OeFYDXt1PKzmD6OrBAT+/TAQrnXUsjDTnN/Xj3nswmgeJPmfU8f7iRTcyOAoilMDciq/ +GM3dV/xPha1u6NeWBkCLc93pwIhKwz63/D/tAIDWi0pNrrFkUNw5udaWEatiivRY0lV AJVguBNnn+fQ8ar8wwe2ySNALCv2XA2nhqc+J5uBJKXFXqqETGnm94WMaP4er5w+Tiu6 aERw== X-Gm-Message-State: ACrzQf1h1wXDYUdDQxDPOPRjhJNCLe3/AVm77VwdlXF/Z/+3/rNCnDEK crOI6a69LCgQrZZQ4a2CGrD1uZJc52MQF0JXXJc= X-Google-Smtp-Source: AMsMyM6OUpp8bIQ0jGcxwrEew7XZEIWrZBeSKLwvLL/YWPBo6AmjZyZB5qE5hjUCwYrb7Sj7XObZsubK5w82yMxZZGE= X-Received: by 2002:a05:6808:1186:b0:353:b77a:a481 with SMTP id j6-20020a056808118600b00353b77aa481mr13416848oil.199.1666016407358; Mon, 17 Oct 2022 07:20:07 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 17 Oct 2022 14:20:06 +0000 In-Reply-To: <87czaqg4cn.fsf@gnus.org> X-Hashcash: 1:20:221017:larsi@gnus.org::UF7rx/drd0DqxYAv:bIN 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:245737 Archived-At: Lars Ingebrigtsen writes: > So there is no way to say "I have font X, give me font Y of the same > size". Right. And in Emacs, this stuff tends to stick out more because we are firmly in the uncanny valley between having the text rendering capabilities of an average web browser (but we are much less advanced) and a terminal emulator (but we are much more advanced). > 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). Making `help-key-binding' just inherit from `default' is easy enough, but we already expect that face to work even with `variable-pitch-mode': see `help-for-help'. :-( So if don't have time to find a more proper solution for Emacs 29, we would probably want to add some local hack there. (We could make `help-for-help' not use `variable-pitch-mode' too. But that would be a step backwards, IMHO, so I'd rather live with a hack.) Maybe we should have `fixed-pitch' just always use the same font as the default face? If we want some other look in info (or wherever we currently use it) we should perhaps add some other face we could inherit from there. But then, maybe figuring out how to do that is what this entire thread is about...? > To achieve that we'd have to implement something like > > :inherit (if (monospacep 'default) 'default 'fixed-pitch) > > or something? Something like that, or perhaps make it depend on `variable-pitch-mode'?