GNU bug report logs - #42539
28.0.50 font face in mode line problem ?

Previous Next

Package: emacs;

Reported by: Fabrice Popineau <fabrice.popineau <at> gmail.com>

Date: Sat, 25 Jul 2020 19:22:01 UTC

Severity: normal

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 42539 <at> debbugs.gnu.org
Subject: Re: bug#42539: 28.0.50 font face in mode line problem ?
Date: Sun, 26 Jul 2020 21:34:54 +0200
[Message part 1 (text/plain, inline)]
Ok, I think I was fooled by something.

Trying to run `emacs -q -l test1.el' with test1.el:
------------------------------------------------------------
(setq use-default-font-for-symbols nil)
(set-face-font 'default "Roboto Mono Light 14")
(set-fontset-font "fontset-default"  '(#x2600 . #x26ff) "Fira Code 16")
(setq-default mode-line-format '("☰ %b"))
(split-window-vertically)
------------------------------------------------------------

I got the following screen:
[image: emacs-test1.png]
But it seems that it is not the same font that is used for both modelines.
I would have expected that it was the same.
The font used is switched if I switch windows (C-x o)
So probably I miss something here and there is no bug at all.

Fabrice



Le dim. 26 juil. 2020 à 20:57, Eli Zaretskii <eliz <at> gnu.org> a écrit :

> > From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
> > Date: Sun, 26 Jul 2020 19:58:00 +0200
> > Cc: 42539 <at> debbugs.gnu.org
> >
> >  Does it help to give the nil value to use-default-font-for-symbols?
> >
> > Unfortunately, it does not change the behaviour.
>
> You mean, it doesn't cause Emacs to obey set-fontset-font setting?  If
> so, I don't know what's wrong; most probably there's something in this
> complicated setup you didn't show, or maybe something that you did
> show has some strange effect that I cannot spot.
>
> In general, the character you tried to display belongs to the symbol
> block, and Emacs by default uses the default face's font to display
> it.  Setting use-default-font-for-symbols to nil disables that, and
> Emacs should obey set-fontset-font.  That's all I know.
>
[Message part 2 (text/html, inline)]
[emacs-test1.png (image/png, inline)]

This bug report was last modified 3 years and 320 days ago.

Previous Next


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