Re: Displaying a different font on the mode-line

Eli Zaretskii <[email protected]>
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
> From: Matthew Fidler <[email protected]>
> Date: Tue, 09 Feb 2016 15:14:12 +0000
> 
> I cannot display a different font for a character on the mode-line when using windows 32 implementation of
> emacs. Is this a known issue?

Every string you put in the mode line must use a single face for all
its characters; Emacs only takes notice of the face of the first
character of each string.  This is done for efficiency reasons, as the
mode line is redrawn very frequently.

So if you want to use a different font, you should construct the mode
line "creatively", taking care not to use strings that have different
faces on some of its characters.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.