Sean MacLennan writes:
On Fri, 07 Oct 2011 12:01:18 +0200
Stefan Loehnert <loehnert(a)ikm.uni-hannover.de> wrote:
> I'm using XEmacs for many years by now mainly for writing
fortran
> code. However, in the latest version I'm using (a default XEmacs
> installation within OpenSuSE 11.4) I encountered a problem with the
> default settings. I would like to use the font 'Lucidatypewriter' as
> it is well suited for coding.
You probably should talk to SuSE about that, since XEmacs current
version is 21.5.31. However, I don't think this has changed more
recently than 21.5.29, and I suspect that probably your problem is
related to backward-incompatible changes in Xorg.
> But whenever I open XEmacs the font is set back to
'Fixed'
> independent of whether I save the Custom File or not. This means
> that I have to manually switch to 'Lucidatypewriter' each time I
> open XEmacs which is a little annoying.
What does xemacs -vanilla followed by typing
(font-list "-b&h-lucida*-medium-r-*-*-12-*-*-*-*-*-iso8859-1") LF
in *scratch* tell you? (Note that you need to use linefeed or C-j,
not RET, to evaluate the expression.) In particular, does it list any
lucidatypewriter fonts?
Try rebuilding without --with-xfs and put the font you want in
your .Xdefaults file.
I don't think you need to rebuild without XFS (or rebuild at all for
that matter), although XFS is pretty useless these days. Also, more
likely you should put the resource in .Xresources. Something like
XEmacs.default.attributeFont:
-b&h-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-1
will set the default face's font. The "120" in the middle is the
fontsize in points. You may want to change the final "1" to "15" if
you use the Euro sign or some other less-frequent characters that are
in Latin-9 but not in Latin-1 (and if you aren't using the Western
Europen character set, you probably know how to adjust the font spec
-- if not, feel free to ask).
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta