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 22:25:32 +0100
User-agent: mu4e 1.7.5; emacs 29.0.50

On Fri, Dec 17 2021, Eli Zaretskii wrote:
> Now I'm totally confused: what does "interactive" has to do with this?
> If you put the same into your init.el, in a
> after-make-frame-functions, doesn't it produce the same effect as
> invoking it interactively after Emacs started?

I debugged a little bit further with some extra details.
To recap, I have:

(set-face-attribute 'default nil :family "Iosevka"
                     :height 140 :weight 'medium)

somewhere at the end of my init.el. It has always been there.
It is not in after-make-frame-functions.

If I start emacs normally (not in daemon mode), the 'medium weight is
selected correctly.

When I start emacs with --daemon and then create a new frame via
emacsclient, the 'regular weight is used for the new frame instead.

This is new. Until the build from ~4 days ago, 'medium was selected
correctly in both cases. In both cases, the correct font family and size
is used: only the weight is incorrect.

When I revert commit 1b2511fa2aed460120a36765ba16c14e355eef1d then the
'medium weight is selected correctly in both scenarios.



reply via email to

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