Description of Problem:
When XEmacs is compiled with --with-xfs (at least xemacs-21.1.14-10 for 7.1
seems to be), .font resources are ignored in favor of .fontSet resources.
See /usr/share/xemacs-21.1.14/etc/Emacs.ad or etc/Emacs.ad in the source
tarball, lines 187->
This causes some ugly-looking fonts to be used in XEmacs' menubars and
popups. Applying the attached patch to
/usr/share/xemacs-21.1.14/etc/Emacs.ad and doing xrdb -merge with it fixes
the fonts. I haven't tried recompiling with the patch, but as is said in
the beginning of Emacs.ad, the resources in the file should be compiled in.
Steps to Reproduce:
1. Start xemacs
Created attachment 21545 [details]
Fix for menubar and popup fonts
Added to xemacs-21.1.14-14 - thanks for your patch.
I am facing the same problem, and I have tried to apply the patch
in the attachment (adding *menubar*FontSet and popup*FontSet to
X resources and loading them with xrdb). But I have got a warning telling
that it was unable to build a FontSet with:
and I still have some ugly courier font in menus. I am probably missing
something... but what ?
As there is no answer to my previous comment, some more info:
leads to this message:
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*"
to type FontSet
This seems to be due to the LANG variable, which is by default fr_FR@euro
with Redhat 7.1 for France (I think that iso8859-15 encoding, not iso8859-1, is
used with fr_FR@euro, which may cause the problem).
So your patch will not fix the problem for most european users using their
Workarounds which worked for me: either set LANG to fr_FR instead of fr_FR@euro,
or use true type fonts which have more charsets.