GNU bug report logs -
#59347
29.0.50; `:family` face setting ignored
Previous Next
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
> Date: Thu, 17 Nov 2022 23:57:31 -0500
> From: Stefan Monnier via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> When I do:
>
> src/emacs -Q --eval \
> '(progn
> (custom-set-faces `(variable-pitch
> ((t (:family "DejaVu Sans")))))
> (add-to-list `default-frame-alist
> `(font . "-misc-fixed-*-r-semicondensed-*-13-*-*-*-*-*-*-*"))
> (font-lock-mode -1)
> (insert (propertize "hello" `face `variable-pitch)))'
>
> I get "hello" shown in the same font as with the default face
> (i.e. "misc-fixed") instead using DejaVu Sans.
All those backquotes, are they really backquotes when you type this?
Or should they be escaped apostrophes?
More to the point, why do you think this is a bug in Emacs? What
happened here is that you requested a face to use some font family,
and Emacs for whatever reasons decided not to use that family. Why is
that a bug? why are you sure Emacs didn't do that for valid reasons?
Like, for example, that DejaVu Sans doesn't have a variant with the
size that matches the default face's font?
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.