Have encountered a font issue in recent dev emacs and wanted to verify it isn't due to a known change before creating a bug report.
The basic issue is that setting a default font in my init file doesn't seem to work. However, executing the same code in the scratch buffer after boot does set the font. This problem was encountered today after pulling from current HEAD. The previous version, from just after eglot was merged, works fine, so it seems to be due to something which has changed in the last couple of weeks.
(set-face-attribute 'default nil :family "Victor Mono" :height 280 :weight 'light)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
Running current HEAD version I get the following for describe-face default
Face: default (sample) (customize this face)
Documentation:
Basic default face.
Defined in ‘faces.el’.
Family: Noto Sans Mono
Foundry: GOOG
Width: normal
Height: 158
Weight: regular
Slant: normal
Foreground: black
DistantForeground: unspecified
Background: white
Underline: nil
Overline: nil
Strike-through: nil
Box: nil
Inverse: nil
Stipple: nil
Font: #<font-object -GOOG-Noto Sans Mono-regular-normal-normal-*-21-*-*-*-*-0-iso10646-1>
Fontset: -GOOG-Noto Sans Mono-regular-normal-normal-*-21-*-*-*-*-0-fontset-startup
Extend: nil
Inherit: nil
With Emacs built from the version after merge of eglot (rev. 83fbda715973f57dc49fe0) and same init.el file, describe-face default gives me
Face: default (sample) (customize this face)
Documentation:
Basic default face.
Defined in ‘faces.el’.
Family: Victor Mono
Foundry: UKWN
Width: normal
Height: 279
Weight: light
Slant: normal
Foreground: black
DistantForeground: unspecified
Background: white
Underline: nil
Overline: nil
Strike-through: nil
Box: nil
Inverse: nil
Stipple: nil
Font: #<font-object -UKWN-Victor Mono-light-normal-normal-*-37-*-*-*-m-0-iso10646-1>
Fontset: -UKWN-Victor Mono-light-normal-normal-*-37-*-*-*-m-0-fontset-auto3
Extend: nil
Inherit: nil
This is on Fedora 36 using lucid toolkit.
Is this due to some change associated with set-face-attribute or some new bug which needs a bug report?
--