[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font in mode line

From: Francesco Mazzoli
Subject: Re: Font in mode line
Date: Wed, 27 Nov 2013 18:47:00 +0000 (UTC)
User-agent: Loom/3.14 (

Eli Zaretskii <eliz <at>> writes:
> That's why I said to type "M-x font-lock-mode RET" -- this turns OFF
> font lock.  If you don't do that, font-lock removes the font text
> properties from the inserted text, and you don't see them.  Please
> don't skip anything in those steps, they are all important.

Oh, sorry, I did follow your steps but while trying I must have turned font-
lock off and then on again.

So, with font-lock off, I find out that the used font (for example for the 
buffer-id) is:

                  display: by this font (glyph code)

While the `mode-line-buffer-id' face (referenced in the same screen given by 
`C-u C-x =') lists

    Font: #<font-object -misc-fixed-medium-r-normal--13-120-75-75-c-80-

So the two seem to be different.  If I set the font explicitly using a 
string from `xfontsel', for example

    (set-face-attribute 'mode-line-buffer-id nil :font "-misc-fixed-medium-

I still get the same glyph when actually inspecting the font with `C-u C-x 

What are the circumstances where the font for some text is different from 
the font specified by its face?

Thanks again,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]