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

> From: Arash Esbati <arash@gnu.org>
> Cc: 51768@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?





  parent reply	other threads:[~2021-11-11 18:46 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 [this message]
2021-11-11 20:49       ` Arash Esbati
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=83sfw2zg23.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=51768@debbugs.gnu.org \
    --cc=arash@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).