GNU bug report logs - #51768
29.0.50; User font settings are ignored (Win10)

Previous Next

Package: emacs;

Reported by: Arash Esbati <arash <at> gnu.org>

Date: Thu, 11 Nov 2021 15:21:02 UTC

Severity: normal

Found in version 29.0.50

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Arash Esbati <arash <at> gnu.org>
Cc: 51768 <at> debbugs.gnu.org
Subject: bug#51768: 29.0.50; User font settings are ignored (Win10)
Date: Thu, 11 Nov 2021 20:46:12 +0200
> From: Arash Esbati <arash <at> gnu.org>
> Cc: 51768 <at> debbugs.gnu.org
> Date: Thu, 11 Nov 2021 18:52:30 +0100
> 
> >> (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.
> >>  '(default ((t (:family "Source Code Pro Medium" :foundry "outline"
> >> :slant normal :weight medium :height 90 :width normal))))
> >>  '(fixed-pitch ((t (:inherity default)))))
> >> 
> >> Emacs from master (3e23494394) ignores these settings and starts with
> >> Arial which looks likte this:
> >
> > If you revert commit 32086ea23, does the problem go away?
> 
> Yes, it does.  I did
> 
>   git checkout a491b73c765adde894acdbafc6fd97edd4343c2c
> 
> and built again.  Font settings are respected.

I think I figured it out.  It seems to be a cockpit error: the
"Medium" part is not part of the :family, and you already say
":weight medium" in the attributes anyway.  Try this instead:

 '(default ((t (:family "Source Code Pro" :foundry "outline" :slant normal :weight medium :height 90 :width normal))))

With this, I get the same results as with an older Emacs.  It is true
that the older Emacs also accepted "Source Code Pro Medium" as the
family, but the result was that it loaded the same font as the master
branch without "Medium".

Does this resolve your issue?




This bug report was last modified 3 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.