emacs-devel
[Top][All Lists]
Advanced

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

Re: Incorrect font weight selected


From: Yuri D'Elia
Subject: Re: Incorrect font weight selected
Date: Sun, 19 Dec 2021 12:29:10 +0100
User-agent: mu4e 1.7.5; emacs 29.0.50

On Sun, Dec 19 2021, Eli Zaretskii wrote:
>>     (set-frame-font (font-spec :name "Inconsolata-13" :weight 'medium))
>>
>> then what I get is the regular weight, not the medium weight.  It is as
>> though the :weight parameter is being completely ignored.
>
> Does that font have the 'medium' weight?

$ fc-list 'Inconsolata' | grep Medium
/usr/share/fonts/truetype/inconsolata/Inconsolata.otf: Inconsolata:style=Medium

However:

$ fc-list 'Iosevka' -f '%{style}\n' | grep Medium
Medium Extended Oblique,Regular
Medium Extended,Regular
Medium Oblique,Regular
Medium Italic,Italic
Medium Extended Italic,Italic
Medium,Regular
^^^^^^^^^^^^^^

Note that "Regular" exists as a style on it's own.



reply via email to

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