[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] 21.1: Mixed bold/normal font for modeline?
From: |
Jason Rumney |
Subject: |
Re: [h-e-w] 21.1: Mixed bold/normal font for modeline? |
Date: |
14 Nov 2001 22:44:41 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 |
address@hidden (Sunil S. Patel) writes:
> I have NTEmacs 21.1 on Win2k (SP2)....
>
> I notice that the new spiffy modeline is colored and the buffer name is in
> a bold Courier font, while the rest of the modeline is a normal Courier...
>
> I have my own favorite font '6x13' (and '6x13b') that I've added to the
> system, and I have the following in my .emacs:
>
> (set-default-font "-*-6X13-medium-r-*-*-13-*-*-*-c-*-*-15")
> (set-face-font 'bold "-*-6X13B-bold-r-*-*-13-*-*-*-c-*-*-15")
If this was "-*-6X13-bold..." it would probably work. I don't know what
face is used to draw the buffer name, but it is obviously not "bold".
Probably a variation of "mode-line" with the bold attribute.
Maybe this entry in `face-font-family-alternatives' would work.
(add-to-list 'face-font-family-alternatives '("6X13" "6X13B"))
> But of course, this works for Courier:
>
> (set-default-font "-*-Courier New-normal-r-*-*-12-*-*-*-c-*-*-ansi-")
Then you are lucky. *-ansi- is not a valid character set specifier,
so the fonts below are not guaranteed to work at all. Try replacing
the final "*-ansi-" with "iso8859-1" in all fonts you have specified
like that.
> And....I'm guessing here, but is it possible to specify different faces
> for parts of the modeline?....
Yes.
--
Jason Rumney