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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 59347 <at> debbugs.gnu.org
Subject: bug#59347: 29.0.50; `:family` face setting ignored
Date: Fri, 18 Nov 2022 17:13:54 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: 59347 <at> debbugs.gnu.org
> Date: Fri, 18 Nov 2022 09:59:38 -0500
> 
> So let me return the question: what part of the above code makes you
> think it's correct for Emacs to use a different font than the DejaVu Sans?

The part where you requested a misc-fixed font.

> > Like, for example, that DejaVu Sans doesn't have a variant with the
> > size that matches the default face's font?
> 
> DejaVu is a scalable font, so I can't see how it could not have a size
> that matches.

Of course, it can.

And if it isn't because of size, it can be because of some other font
attribute, like weight.

Bottom line: you cannot expect Emacs to select a font from a family
you request, not with a 100% reliability anyway.  Emacs can decide not
to.




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

Previous Next


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