APPROVE COMMIT 21.5
Index: man/ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/man/ChangeLog,v
retrieving revision 1.275
diff -u -U0 -r1.275 ChangeLog
--- man/ChangeLog 7 Dec 2004 12:52:45 -0000 1.275
+++ man/ChangeLog 10 Dec 2004 06:33:53 -0000
@@ -0,0 +1,5 @@
+2004-12-10 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * internals/internals.texi (Better Rendering Support --
+ Implementation): Document reasons for Label Widget crash.
+
@@ -360 +364,0 @@
->>>>>>> 1.271
Index: man/internals/internals.texi
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/man/internals/internals.texi,v
retrieving revision 1.55
diff -u -r1.55 internals.texi
--- man/internals/internals.texi 6 Dec 2004 03:51:35 -0000 1.55
+++ man/internals/internals.texi 10 Dec 2004 06:32:26 -0000
@@ -23137,6 +23137,21 @@
engine interface'' to ``text'' seems like a plausible way to focus this
work.
+Further evidence for this kind of approach is a bug recently fixed in
+the @samp{xft-sjt} branch. XEmacs was crashing because the Athena Label
+widget tried to access a nonexistent font in its initialization
+routine. The font didn't exist because although no core X11 font
+corresponding to the spec existed, an Xft font was found. So the XEmacs
+font instance existed but it did not specify an X11 core font, only the
+Xft font. When this object was used to initialize the font for the
+Label widget, None (0) was passed to XtSetArgs, then XtCreateWidget was
+called, and the internal initialization routine attempted to access that
+(nonexistent) font while computing an X11 graphics context (GC).
+
+A similar issue applies to colors, but there Xft colors keep the pixel
+data internally, so (serendipitously) the X11 color (@emph{i.e.}, pixel)
+member does get updated.
+
@item Colors, fonts, and faces
Besides the rendering engine itself, the XEmacs implementations of these
objects are poorly supported by current widget implementations,
--
Graduate School of Systems and Information Engineering University of Tsukuba
http://turnbull.sk.tsukuba.ac.jp/ Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Economics of Information Communication and Computation Systems
Experimental Economics, Microeconomic Theory, Game Theory