From: "Stephen J. Turnbull" <stephen(a)xemacs.org>
Subject: Re: Italic-Fonts does not change
Date: 14 Nov 2001 00:16:43 +0900
Message-ID: <87r8r2wvj8.fsf(a)tleepslib.sk.tsukuba.ac.jp>
stephen>
stephen> >>>>> "Meino" == Meino Christian Cramer
<mccramer(a)s.netic.de> writes:
stephen>
stephen> Meino> Regardless, what I am setting with "set-face-font",
XEmacs
stephen> Meino> insists of using the unreadable
stephen> Meino>
"-*-courier-medium-i-*-*-*-120-*-*-*-*-iso8859-*"-font
stephen>
stephen> Show us exactly what call you are using to set the face to FONT. Also
stephen> show us what (list-fonts FONT) tells you.
I did the following:
I used customize-face (all = yes) to seacrh for the
face used by AUC-TeX for its italic-face display.
I gave the faces in question a blue background and typed
some characters in AUC-TeX to proof whether I found the
one. After some tests, it was clear, that AUC-TeX uses
the "italic" face to display the characters.
Changing the font for the "italic" face via customize failed
(the begin of the story).
You gave me the hint, to use set-face-font directly to
set the font for the italic face.
I started 'xlsfont -f xlsfonts -fn
"-*-*-*-i-*-*-14-*-*-*-*-*-*-*"'
to giove me a list of fonts of the disired slant and size.
I tried xfontsel and gimp to acces those fonts to be sure,
that they are useable...they were.
I typed
M-x set-face-font <RETURN> italic <RETURN>
-adobe-courier-bold-i-normal--14-135-75-75-m-0-iso8859-1"" <RETURN>
after switching to tex-mode (which activates AUC-TeX).
That does not work for me...no change was visisble.
I tried
M-x set-face-font <RETURN> italic <RETURN>
-adobe-courier-bold-i-normal--14-135-75-75-m-0-iso8859-1 <RETURN>
instead.
No success, too. But XEmacs does not display any errors or something like that.
It seems that "list-fonts" is a little be tricky...and I am no Lisp expert.
As I understand, list-fonts returns a list of font names.
I exxecuted the command
(list-fonts "-*-*-*-i-*-*-14-*-*-*-*-*-*-*")
and it prints me dozens of fonts into the minibuffer...and after a second or two
the list vanishes....
I have no clue how to copy the output into a mail (which
means more exactly:...how to turn a lisp list into a "real
string" )...would you give me a hint, please :-)
Same goes for
(list-fonts "-adobe-courier-bold-i-normal--14-135-75-75-m-0-iso8859-1" )....
Thank you!
Meino
stephen>
stephen>
stephen> --
stephen> Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp