all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Font setting issue in recent emacs dev version
@ 2022-10-29  3:10 Tim Cross
  2022-10-29  6:50 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Cross @ 2022-10-29  3:10 UTC (permalink / raw)
  To: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 3112 bytes --]

Emacs developers

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.

I have an init.el file which consists of only

(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?

-- 
regards,

Tim

--
Tim Cross

[-- Attachment #2: Type: text/html, Size: 6380 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-29  8:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-29  3:10 Font setting issue in recent emacs dev version Tim Cross
2022-10-29  6:50 ` Eli Zaretskii
2022-10-29  7:20   ` Tim Cross
2022-10-29  8:12   ` Po Lu
2022-10-29  8:35     ` Tim Cross

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.