emacs-devel
[Top][All Lists]
Advanced

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

Re: Incorrect font weight selected


From: Eli Zaretskii
Subject: Re: Incorrect font weight selected
Date: Fri, 17 Dec 2021 20:55:04 +0200

> From: Yuri D'Elia <wavexx@thregr.org>
> Date: Fri, 17 Dec 2021 15:51:58 +0100
> 
> Rebuilt today emacs on 36d873bf0d3f1185d0090e4b506a6a726476aec6, I
> noticed when I start a fresh new instance of emacs the selected weight
> for my default font is 'normal instead of 'medium.

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.

> This is why I currently do in my init.el:
> 
> (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.



reply via email to

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