>>>> "robert" == robert delius royar
<xemacs(a)frinabulax.org> writes:
robert> After the recent changes to move toward fontconfig, XEmacs
robert> 21.5.26 exits at load if I have an init file with font
robert> setup code in it.
Actually, we already use fontconfig. What happened is that the name
of the file containing the fontconfig code has changed.
Did you try rebuilding with your usual configuration? If you did,
please try one more time, doing "make depend" (for good luck, I
committed a dependency bug which has since been fixed in CVS, but this
is just as good as "cvs update") and "make beta". It is important to
do "make *beta*" to ensure everything, including the compiled Lisp,
gets rebuilt.
What is happening is that there is real code in the C files
src/font-mgr.*, and if you do a full rebuild, that code will be
included, which `provide's the "font-mgr" feature. There is stub code
in lisp/font-mgr.el that will eventually support fontconfig APIs on
platforms where the fontconfig library is not available. Currently
all of the functions in that file just throw an error.
robert> I am not sure which code causes the crash.
lisp/fontconfig.el does `(require 'font-mgr)'. This is a no-op if the
font-mgr.o file is built and linked into xemacs. It loads the
font-mgr.el emulation if not. Currently any attempt to use the
fontconfig emulation throws an error, with the results you see. All
Lisp errors in initialization cause XEmacs to exit with a backtrace.
--
School of Systems and Information Engineering
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.