Charles -
On Tue, Nov 6, 2012 at 6:08 PM, Charles Waldman <cgw(a)alum.mit.edu> wrote:
Vin Shelton writes:
> You don't have the default font; see the warning message.
> Try either installing the default helvetica font or specifying a font with the -fn
option.
I don't think the problem is that trivial (but I would be glad to be wrong!)
Did you configure --with-xft? I think xft would be required for
XEmacs to understand a font spec like "Helvetica" or "Mono-8".
Otherwise, you'll have to refer to X fonts. What does
xlsfonts -fn "-*-helvetica-bold-r-*-*-*-*-iso8859-*"
report? That's the font that XEmacs is looking for, perhaps from X resources.
Here are all the references to helvetica in the source tree:
find . -type f | xargs grep -i helvetica
./nt/Emacs.ad.h:(String) "*menubar*Font:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*",
./nt/Emacs.ad.h:(String) "*popup*Font:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*",
./nt/Emacs.ad.h:(String) "*XmDialogShell*FontList:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*",
./nt/Emacs.ad.h:(String) "*Dialog*Font:
-*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-*",
./lwlib/xlwmenu.c: XtRString, (XtPointer)
"-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-1"),
./lwlib/xlwmenu.c: "Helvetica-12:bold"),
./lwlib/xlwtabs.h: xftFont XftFont String
Helvetica-12 *8
./lwlib/xlwtabs.c: /* #### Maybe use
"-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-1" here?
./lwlib/xlwtabs.c: xftFontName, XtRString, "Helvetica-12"),
./tests/gtk/gtk-test.el: (make-font :family
'("LucidaBright" "Utopia" "Helvetica"
"fixed")
./etc/sample.Xresources:! *menubar*FontSet:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
./etc/sample.Xresources:*menubar*Font:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
./etc/sample.Xresources:*popup*Font:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
./etc/sample.Xresources:*menubar*FontSet:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
./etc/sample.Xresources:*popup*FontSet:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
./etc/sample.Xresources:XEmacs*XmDialogShell*FontList:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
./etc/sample.Xresources:XEmacs*Dialog*Font:
-*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-*
./etc/Emacs.ad:! *menubar*FontSet:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
./etc/Emacs.ad:*menubar*Font:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
./etc/Emacs.ad:*popup*Font:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
./etc/Emacs.ad:*menubar*FontSet:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
./etc/Emacs.ad:*popup*FontSet:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
./etc/Emacs.ad:Emacs.gui-element.attributeFont:
-*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*
./etc/Emacs.ad:*XmDialogShell*FontList:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
./etc/Emacs.ad:*Dialog*Font:
-*-helvetica-bold-r-*-*-*-140-*-*-*-*-iso8859-*
./man/xemacs/custom.texi:*menubar*FontSet:
-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
./src/balloon-x.c: font = open_font (dpy,
"-adobe-helvetica-medium-r-normal--12-*");
./lisp/font.el: "helvetica"
./lisp/font.el: "helvetica"
Since the fontspec says "bold", I don't think XEmacs is looking for
the default font - it's probably looking for a font for a menu or
perhaps a pointer.
I've got a whole bunch of fonts installed, including Helvetica.
I get the same
flavor of warning message no matter what I pass in for -font (including leaving the
argument off)
GNU Emacs (which I did not build from source) has no problem accessing fonts, eg:
$ emacs -q -font Mono-8
works, but
$ ./src/xemacs -font Mono-8
See above. What does
xlsfonts -fn Mono-8
tell you?
In order to isolate your Xresources, try this:
./src/xemacs -q -name Foo
Regards,
Vin
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta