GNU bug report logs - #59347
29.0.50; `:family` face setting ignored

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 18 Nov 2022 04:58:01 UTC

Severity: normal

Found in version 29.0.50

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 59347 <at> debbugs.gnu.org
Subject: Re: bug#59347: 29.0.50; `:family` face setting ignored
Date: Mon, 21 Nov 2022 22:05:05 -0500
> By the way, I suspect (but do not have a recipe right now) that the same bug
>  exists with the :width and :slant attributes (namely, that setting the font
>  for the default face with an "exotic" value leads to suboptimal/wrong font
>  choices for other faces), and that they should also be set to nil in
>  font_find_for_lface.

IIUC the way we manage choose fonts is that we ask for a list of fonts
matching a particular pattern.  If that list is empty we make the
pattern more coarse and try again.  And when the list is not empty we
choose the best fit based on a score.

So in essence, what you're saying is that we should rely more on
scoring, and start with a coarser pattern right from the beginning?


        Stefan





This bug report was last modified 2 years and 159 days ago.

Previous Next


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