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


Message #26 received at 51768 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 51768 <at> debbugs.gnu.org
Subject: Re: bug#51768: 29.0.50; User font settings are ignored (Win10)
Date: Thu, 11 Nov 2021 21:49:25 +0100
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

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

No, it doesn't.  I updated my local git repo and built a fresh Emacs.
I'm comparing New (6c9ac53249) with Old (41b1fa05c7).

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

- Old uses Source Code Pro Medium font (good)
- New uses Arial (bad)

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

- Old uses Source Code Regular font (bad)
- New uses Source Code Regular font (bad)

I'm attaching two snapshots where you can hopefully see the difference.
This is the medium font:
[medium.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
This is the regular font:
[regular.png (image/png, inline)]
[Message part 5 (text/plain, inline)]
Best, Arash

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

Previous Next


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