A recent change to the XEmacs FAQ recommends setting the menubar font
when using XFT thusly:
#define MONO Mono
#define SANS Sans
#define PTSIZEM 12
#define PTSIZES 11
...
XEmacs.menubar.font: SANS:size=PTSIZES
This has no discernible effect as far as I can tell, but
XEmacs*xftFont: SANS:size=PTSIZES
does change the menubar font.
I configured XEmacs as suggested (./configure --enable-mule
--with-xft=emacs,menubars) and ran it with -vanilla.
Has anyone else gotten 'XEmacs.menubar.font' to work? If so, under
what conditions?
BTW, does anyone else feel as I do that the recommendation *in this
example* of using #defines obscures rather than clarifies what's going
on? I see no point in #defining Mono to be MONO (it's harder to read
uppercase) and the difference between PTSIZEM and PTSIZES is one
character (again in uppercase) out of seven. Since either 'M-x
replace-string' or 'M-x query-replace' work well, I don't see the need
to avoid "boring hand substitution", especially at the expense of
legibility. (Also note that "~.Xresources" should be
"~/.Xresources".)
--- Vladimir
Linux 2.6.25-gentoo-r8 #3 PREEMPT x86_64
GNOME 2.22.3
FreeType 2.3.7
xfs 1.0.8
xorg-server 1.5.0
--
Vladimir G. Ivanovic
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta