all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Gildea <stepheng+emacs@gildea.com>
To: emacs-devel@gnu.org
Subject: anti-alias fix results in ugly scaled fonts
Date: Fri, 14 Oct 2022 20:40:49 -0700	[thread overview]
Message-ID: <517174.1665805249@pental> (raw)

At HEAD, I get an ugly scaled font for my sans-serif text.
I noticed it in MH-E, and you can reproduce it as follows:

    emacs -Q -fn fixed --eval "(buffer-face-set 'variable-pitch)"

Although the default font is specified on the command line as "fixed"
(from the misc-fixed X11 family of fonts), and the variable-pitch font
selected is not in the misc-fixed family, having "fixed" as the
default font affects the font selected for the "variable-pitch" face.
Which font it selects changed recently.

This bug seems to have been introduced by commit 6b1ed2f2c9,
"Fix antialias face attribute when text is scaled", 27 August.

In an Emacs built before that commit, the above command displays text
with a pretty sans-serif font.

That commit undoes some of the changes that addressed bug#17973.
Bug#17973 fixed display of misc-fixed fonts.  With that recent commit,
using misc-fixed fonts again breaks some faces.

 < Stephen



             reply	other threads:[~2022-10-15  3:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-15  3:40 Stephen Gildea [this message]
2022-10-15  7:32 ` anti-alias fix results in ugly scaled fonts Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=517174.1665805249@pental \
    --to=stepheng+emacs@gildea.com \
    --cc=emacs-devel@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 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.