GNU bug report logs - #51155
29.0.50; Incorrect weight used in Cantarell VF

Previous Next

Package: emacs;

Reported by: Utkarsh Singh <utkarsh190601 <at> gmail.com>

Date: Tue, 12 Oct 2021 11:15:02 UTC

Severity: normal

Merged with 28351, 32210

Found in versions 26.0.50, 29.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Utkarsh Singh <utkarsh190601 <at> gmail.com>
Cc: larsi <at> gnus.org, 51155 <at> debbugs.gnu.org
Subject: bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
Date: Thu, 14 Oct 2021 10:38:43 +0300
> From: Utkarsh Singh <utkarsh190601 <at> gmail.com>
> Cc: 51155 <at> debbugs.gnu.org
> Date: Thu, 14 Oct 2021 08:13:33 +0530
> 
> On 2021-10-13, 22:29 +0200, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> 
> > Eli Zaretskii <eliz <at> gnu.org> 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.




This bug report was last modified 3 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.