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#51155: 29.0.50; Incorrect weight used in Cantarell VF Date: Thu, 14 Oct 2021 10:38:43 +0300 Message-ID: <83y26wkqd8.fsf@gnu.org> References: <87wnmipk82.fsf@gmail.com> <838ryxp31h.fsf@gnu.org> <871r4phtzn.fsf@gmail.com> <87h7dl9bva.fsf@gmail.com> <83wnmgnbud.fsf@gnu.org> <87wnmg1xf7.fsf@gnus.org> <87r1col416.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5292"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 51155@debbugs.gnu.org To: Utkarsh Singh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 14 09:39:36 2021 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 1mavKx-0001DF-LW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Oct 2021 09:39:35 +0200 Original-Received: from localhost ([::1]:53712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mavKw-0006Pa-JZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Oct 2021 03:39:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mavKQ-0005z1-27 for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 03:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51181) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mavKP-0004To-OP for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 03:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mavKP-0007B1-Lv for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 03:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Oct 2021 07:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51155 X-GNU-PR-Package: emacs Original-Received: via spool by 51155-submit@debbugs.gnu.org id=B51155.163419713327572 (code B ref 51155); Thu, 14 Oct 2021 07:39:01 +0000 Original-Received: (at 51155) by debbugs.gnu.org; 14 Oct 2021 07:38:53 +0000 Original-Received: from localhost ([127.0.0.1]:34494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mavKH-0007Ae-L0 for submit@debbugs.gnu.org; Thu, 14 Oct 2021 03:38:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mavKG-0007AP-0L for 51155@debbugs.gnu.org; Thu, 14 Oct 2021 03:38:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37122) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mavKA-0004H4-FM; Thu, 14 Oct 2021 03:38:46 -0400 Original-Received: from [87.69.77.57] (port=3138 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 1mavKA-0005M9-1j; Thu, 14 Oct 2021 03:38:46 -0400 In-Reply-To: <87r1col416.fsf@gmail.com> (message from Utkarsh Singh on Thu, 14 Oct 2021 08:13:33 +0530) 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:217198 Archived-At: > From: Utkarsh Singh > Cc: 51155@debbugs.gnu.org > Date: Thu, 14 Oct 2021 08:13:33 +0530 > > On 2021-10-13, 22:29 +0200, Lars Ingebrigtsen wrote: > > > Eli Zaretskii writes: > > > >>> Weight table: > >>> > >>> | Face | Weight | > >>> |------------+--------| > >>> | Extra bold | 205 | > >>> | Bold | 200 | > >>> | Regular | 80 | > >>> | Light | 50 | > >> > >> I think that's the problem: Emacs thinks that Regular should have the > >> weight of 100, see font.c. > > > > So this is basically bug#32210 again, I think? > > > > When we last discussed this (a couple years ago), I said I'd try to look > > into this complex issue, so perhaps now's the time. I'll start poking > > at this morass tomorrow, I think. > > For testing, I changed Regular to weight of 80 but Emacs is still > loading the Light variant. That's not necessarily enough, as there's more code involved here. I think only stepping with a debugger through the relevant code will tell us what happens and why.