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: Utkarsh Singh <utkarsh190601 <at> gmail.com>
To: 51155 <at> debbugs.gnu.org
Subject: bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
Date: Tue, 12 Oct 2021 16:45:41 +0530
Hi,

On 2021-09-21, Arch Linux updated their Cantarell font package, which
removed classic font with variable fonts.  According to Jan Alexander
Steffens (package maintainer):

> Yeah, we only packaged VF because upstream requested to either package
> the classic fonts *or* the variable font. The VF is more powerful as
> it not just contains all the classic weights but can also interpolate
> between them.

But with these changes Emacs in now unable to distinguish between light
and regular weights.  To reproduce the bug you would have to:

1. Install latest version of font from upstream:
<https://gitlab.gnome.org/GNOME/cantarell-fonts>

2. Evaluate in "emacs -Q" session:
(progn
  (set-face-attribute 'variable-pitch nil :family "Cantarell" :weight 'regular)
  (face-font 'variable-pitch))

Also see bug report on Arch Linux bug tracker:
<https://bugs.archlinux.org/task/72212>

-- 
Utkarsh Singh
https://utkarshsingh.xyz/




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.