GNU bug report logs - #53050
29.0.50; freetype font drivers reports invalid weight

Previous Next

Package: emacs;

Reported by: Po Lu <luangruo <at> yahoo.com>

Date: Thu, 6 Jan 2022 11:56:02 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 53050-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 53050-done <at> debbugs.gnu.org
Subject: Re: bug#53050: 29.0.50; freetype font drivers reports invalid weight
Date: Thu, 06 Jan 2022 15:48:38 +0200
> Date: Thu, 06 Jan 2022 19:54:42 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 
> Do `M-x set-frame-font RET' on a build using a fontconfig-based font
> driver (such as ftcrhb) and hit TAB.  There will be many fonts like
> this:
> 
>   -1ASC-Liberation Mono-regular-italic-normal-*-*-*-*-*-m-0-iso10646-1
>   -1ASC-Liberation Mono-regular-normal-normal-*-*-*-*-*-m-0-iso10646-1
> 
> Where the weight specification is `regular'.  The documentation for the
> `weight' spec, however, says:
> 
> ‘:weight’
>      Font weight—one of the symbols (from densest to faintest)
>      ‘ultra-bold’, ‘extra-bold’, ‘bold’, ‘semi-bold’, ‘normal’,
>      ‘semi-light’, ‘light’, ‘extra-light’, or ‘ultra-light’.  On text
>      terminals which support variable-brightness text, any weight
>      greater than normal is displayed as extra bright, and any weight
>      less than normal is displayed as half-bright.
> 
> Which doesn't include `regular' as a valid weight.  In Emacs 28, the
> same fonts' weight attributes are also simply `normal'.

Thanks, fixed.




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

Previous Next


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