When trying to understand the handling of fonts with Xft I made an
strace of the XEmacs startup. A tiny fraction of the log follows:
--------------------------------------------------------------------------
3942 access("/home/leif/en_AU/XEmacs", R_OK) = -1 ENOENT (No such file
or directory)
3942 access("/home/leif/en/XEmacs", R_OK) = -1 ENOENT (No such file or
directory)
3942 access("/home/leif/XEmacs", R_OK) = 0
3942 stat64("/home/leif/XEmacs", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
3942 access("/etc/X11/en_AU/app-defaults/XEmacs-color", R_OK) = -1
ENOENT (No such file or directory)
3942 access("/etc/X11/en/app-defaults/XEmacs-color", R_OK) = -1 ENOENT
(No such file or directory)
3942 access("/etc/X11/app-defaults/XEmacs-color", R_OK) = -1 ENOENT (No
such file or directory)
3942 access("/etc/X11/en_AU/app-defaults/XEmacs", R_OK) = -1 ENOENT (No
such file or directory)
3942 access("/etc/X11/en/app-defaults/XEmacs", R_OK) = -1 ENOENT (No
such file or directory)
3942 access("/etc/X11/app-defaults/XEmacs", R_OK) = -1 ENOENT (No such
file or directory)
3942 access("/usr/share/X11/en_AU/app-defaults/XEmacs-color", R_OK) =
-1 ENOENT (No such file or directory)
3942 access("/usr/share/X11/en/app-defaults/XEmacs-color", R_OK) = -1
ENOENT (No such file or directory)
3942 access("/usr/share/X11/app-defaults/XEmacs-color", R_OK) = -1
ENOENT (No such file or directory)
3942 access("/usr/share/X11/en_AU/app-defaults/XEmacs", R_OK) = -1
ENOENT (No such file or directory)
3942 access("/usr/share/X11/en/app-defaults/XEmacs", R_OK) = -1 ENOENT
(No such file or directory)
3942 access("/usr/share/X11/app-defaults/XEmacs", R_OK) = -1 ENOENT (No
such file or directory)
3942
access("/opt/xemacs/xemacs-21.5-b28/share/xemacs/site-packages/etc/app-defaults/en_AU/Emacs",
R_OK) = -1 ENOENT (No such file or directory)
3942
access("/opt/xemacs/xemacs-21.5-b28/share/xemacs/site-packages/etc/app-defaults/en/Emacs",
R_OK) = 0
3942
open("/opt/xemacs/xemacs-21.5-b28/share/xemacs/site-packages/etc/app-defaults/en/Emacs",
O_RDONLY) = 6
3
----------------------------------------
Please note the difference between the last two 'access'-lines and the
previous: all the others access .../app-defaults/XEmacs, but the last
two access .../app-defaults/Emacs. Unless there is a deep reason for
this difference perhaps it should be fixed. My quick and very inexpert
searches indicate that the error is in the file device-x.c, lines 698
and 704 in the files downloaded with hg today.
The Xft fonts work very nicely now, thank you.
Leif Andersson
Lund University, Sweden
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta