From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57555: 29.0.50; variable-pitch font issue with medium weight default font Date: Tue, 06 Sep 2022 18:42:15 +0300 Message-ID: <83zgfcik6g.fsf@gnu.org> References: <874jxpjl43.fsf@gnu.org> <83pmgdnfhs.fsf@gnu.org> <878rmymh9z.fsf@gnu.org> <834jxmkp9f.fsf@gnu.org> <87y1uxg8px.fsf@gnu.org> <83o7vtkeft.fsf@gnu.org> <87edwpfzvh.fsf@gnu.org> <83leqxk6g8.fsf@gnu.org> <0b2303e392485748bca7@heytings.org> <83k06hjkwz.fsf@gnu.org> <876431c7a6f70869c7f9@heytings.org> <838rmwk6of.fsf@gnu.org> <87pmg8r30a.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8378"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57555@debbugs.gnu.org, gregory@heytings.org, bandali@gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 06 17:43:13 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 1oVajG-0001se-T6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 17:43:11 +0200 Original-Received: from localhost ([::1]:50188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVajF-0000gU-9w for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 11:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVaj8-0000fw-RD for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 11:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35446) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVaj8-0000CC-IN for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 11:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVaj8-00071h-Di for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 11:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Sep 2022 15:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57555 X-GNU-PR-Package: emacs Original-Received: via spool by 57555-submit@debbugs.gnu.org id=B57555.166247896226970 (code B ref 57555); Tue, 06 Sep 2022 15:43:02 +0000 Original-Received: (at 57555) by debbugs.gnu.org; 6 Sep 2022 15:42:42 +0000 Original-Received: from localhost ([127.0.0.1]:52378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVain-00070v-P4 for submit@debbugs.gnu.org; Tue, 06 Sep 2022 11:42:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVail-00070Z-Kq for 57555@debbugs.gnu.org; Tue, 06 Sep 2022 11:42:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVaig-00008B-A3; Tue, 06 Sep 2022 11:42:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/PGxEceTYu0KsvakYjlQB/auhJS2qo34xUkhKXG8PDM=; b=fPEJHJtZWoZM dct4sujoGn07Swh2n9Fjc+ALGsuEF8g1PPFUc2hT06WBSgVuR+cV9MQNpG0iKJKrUmkIdkoa9d1nN FKlFePkCXL0sWGp0bgcaKplcXSv0jPx29wNppc57akUyKA3clQMb+W6RtCUzP3DDV+d40Z7tfbWk1 JB8J1axajGSbkPe0z73wK5bWMp2U/R7dOn7rm0ZIOqM7f4+jCAcbL3oveDaYI5D8PbZKGNceCExNO AhjWsDKxCHJrmGuAsxxEAFIJZcyG7uGslifswrS9Gj2rGXT+TufXfmOAj1qyQzDBVUmCQnlyaLGX6 KjBsx0zVmDQb9zn0A1UFvQ==; Original-Received: from [87.69.77.57] (port=2310 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVaif-000189-Ok; Tue, 06 Sep 2022 11:42:34 -0400 In-Reply-To: <87pmg8r30a.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 06 Sep 2022 16:28:21 +0200) 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:241684 Archived-At: > From: Lars Ingebrigtsen > Cc: Gregory Heytings , bandali@gnu.org, > 57555@debbugs.gnu.org > Date: Tue, 06 Sep 2022 16:28:21 +0200 > > Eli Zaretskii writes: > > > Well, you reverted the important part of commit 6b1ed2f, which Amin > > said caused his problem. So you are not on a wrong path wrt that... > > As far as I can tell, your patch just reverted the code back to the > state before this: > > commit bf0d3f76dcfe7881cb3058169b51cf6602fdcdcb > Author: Kenichi Handa > AuthorDate: Sun Jul 20 00:18:23 2014 +0900 > > 2014-07-19 Kenichi Handa > > * xfaces.c (realize_x_face): Call font_load_for_lface with no > mandatory font spec (Bug#17973). > > 2014-07-19 Stefan Monnier > > * font.c (font_score): Return the worst score if the size of > ENTITY is wrong by more than a factor 2 (Bug#17973). Yes. As I explained back then. > So we've come full circle. No, we haven't. Emacs works as expected: it requests a medium-weight font for the variable-pitch face, because the fixed-pitch face was customized to use a medium weight. Since the font Amin wants to use for variable-pitch doesn't have a medium variant, Emacs selects another one. There's no real problem I see here, except an issue with user expectations not being satisfied. "Fixing" this by disregarding all the attributes of the face's font is throwing the baby with bathwater.