GNU bug report logs -
#58912
29.0.50; set-face-attribute call in init.el has no lasting effect
Previous Next
Reported by: Dmitry Gutov <dgutov <at> yandex.ru>
Date: Mon, 31 Oct 2022 00:45:02 UTC
Severity: normal
Merged with 59271,
59283
Found in version 29.0.50
Done: Po Lu <luangruo <at> yahoo.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Mon, 31 Oct 2022 02:44:24 +0200
> From: Dmitry Gutov <dgutov <at> yandex.ru>
>
> 1. Have a line in init.el like
>
> (set-face-attribute 'default nil :height 110 :weight 'semi-light :family
> "Cascadia Mono")
>
> 2. Start Emacs. See the graphical frame get resized briefly during
> startup, but then go back to the default monospaced system font (Ubuntu
> Mono in my case), with the default font size.
I cannot reproduce this. The settings in the init file, both the font
family and its size, get reflected in the default face's font for me.
But I'm not on an X/GTK-based system, so I suspect something like
xsettings or gsettings or somesuch are responsible for the resetting
of the default face's font. Perhaps Po Lu could help.
This bug report was last modified 2 years and 185 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.