unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 51768@debbugs.gnu.org
Subject: bug#51768: 29.0.50; User font settings are ignored (Win10)
Date: Thu, 11 Nov 2021 21:49:25 +0100	[thread overview]
Message-ID: <86h7cizacq.fsf@gnu.org> (raw)
In-Reply-To: <83sfw2zg23.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Nov 2021 20:46:12 +0200")

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

Eli Zaretskii <eliz@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:

[-- Attachment #2: medium.png --]
[-- Type: image/png, Size: 2535 bytes --]

[-- Attachment #3: Type: text/plain, Size: 26 bytes --]

This is the regular font:

[-- Attachment #4: regular.png --]
[-- Type: image/png, Size: 2627 bytes --]

[-- Attachment #5: Type: text/plain, Size: 13 bytes --]


Best, Arash

  reply	other threads:[~2021-11-11 20:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11 15:18 bug#51768: 29.0.50; User font settings are ignored (Win10) Arash Esbati
2021-11-11 15:50 ` Arash Esbati
2021-11-11 17:01 ` Eli Zaretskii
2021-11-11 17:52   ` Arash Esbati
2021-11-11 18:01     ` Eli Zaretskii
2021-11-11 18:53       ` Arash Esbati
2021-11-11 18:46     ` Eli Zaretskii
2021-11-11 20:49       ` Arash Esbati [this message]
2021-11-13 13:24         ` Eli Zaretskii
2021-11-13 15:25           ` Arash Esbati

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86h7cizacq.fsf@gnu.org \
    --to=arash@gnu.org \
    --cc=51768@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).