Vladimir G. Ivanovic wrote:
* PGP Signed by an unknown key
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?
I have this in my .Xdefaults:
XEmacs*menubar*xftFont: Bitstream Vera Sans-10
Seems to work. Curiously, I also have:
XEmacs*menubar*font: -*-bitstream vera sans-medium-r-*-*-*-120-*-*-*-*-*-*
I don't know which one really makes it work. Let me check....
Ok. Removing the latter doesn't make a difference. The menubar font is
Bitstream still.
Ray
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
------------------------------------------------------------------------
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
* PGP Signed by an unknown key
* text/plain body
* Unknown Key
* 0x30E1745B
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta