From: "Stephen J. Turnbull" <stephen(a)xemacs.org>
Subject: Re: Italic-Fonts does not change
Date: 14 Nov 2001 13:52:05 +0900
Message-ID: <87bsi6uf7u.fsf(a)tleepslib.sk.tsukuba.ac.jp>
Hi Stephen, hi "Rest of the crew" ;-)
First of all: Thank you __very much__ for all your fast help!
Yes, the last hack did it for me. Interesting, that this "reset-font"
command -- as specified below -- "unlocks" a dozen other fonts, I
haven't even thought before.
I have inserted the command sequence into my ~/.xemacs/.init.el-file and
now I am very happy to be able to read my own writings -- even if I do
some \it in TeX.... ;-)
But I think also, this is a bug in XEmacs...
Thank you very much to you all ! :o)
(One should say, GPL/OpenSoftware has no support...;)
keep hacking the right site of life ! :-)
Meino
stephen> >>>>> "Meino" == Meino Christian Cramer
<mccramer(a)s.netic.de> writes:
stephen>
stephen> Meino> I did the following test to ensure, that I am using the
stephen> Meino> correct face: I changed the background color for
"italic"
stephen> Meino> and the chnages were also present in AUC-TeX using italics.
stephen>
stephen> This is a valid test.
stephen>
stephen> Meino> set-face-font seems to refuse to accept ANY change for the
stephen> Meino> italic face, regardless, whether I am using oblique fonts
stephen> Meino> or something else. The problem seems not to be the input
stephen> Meino> (font-string), but something "inside" which refuses
to
stephen> Meino> change...
stephen>
stephen> Yes, this has been reported before; I am able to reproduce.
stephen>
stephen> Something seems screwy in the instantiation of the face fonts here.
stephen> I'm really not sure what.
stephen>
stephen> It seems that you need to
stephen>
stephen> (reset-face 'italic)
stephen>
stephen> before setting the italic font.
stephen>
stephen> If you put
stephen>
stephen> ;; let's not keep this forever :-(
stephen> (if (emacs-version>= 21 4 6)
stephen> (message "After upgrading, try removing the face hack from
init.el!"))
stephen> (reset-face 'italic)
stephen> (set-face-font 'italic your-preferred-font-spec-goes-here 'global)
stephen>
stephen> in your init file, you'll probably get the result you want. Whether
stephen> you will be able to use Custom on that face afterward I'm not sure.
stephen>
stephen> You should be able to use -*-iso8859-15 fonts by doing this.
stephen>
stephen>
stephen>
stephen> --
stephen> Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
stephen> University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573
JAPAN
stephen> Don't ask how you can "do" free software
business;
stephen> ask what your business can "do for" free software.
stephen>