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: Fri, 17 Dec 2021 20:47:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

On Fri, Dec 17 2021, Eli Zaretskii wrote:
> Emacs by default requests the normal (a.k.a. "regular") weight, so
> what you see now is the correct expected behavior.  If previously
> Emacs selected the "medium" weight, that was a subtle bug.

But as you saw, I'm explicitly setting the default face, and that
includes selecting 'medium as the font weight.

>> (set-face-attribute 'default nil :family "Iosevka"
>>                     :height 140 :weight 'medium)
>> 
>> If I re-evaluate this _after_ the frame has been created though, the
>> correct weight is selected.
>
> This is the intended behavior, so I don't think there's anything we
> need to fix here.

Why this call should select a different font when executed during init
vs. when called interactively?




reply via email to

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