bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53050: 29.0.50; freetype font drivers reports invalid weight


From: Eli Zaretskii
Subject: 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@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]