User: aidan
Date: 05/12/20 23:01:54
Modified: xemacs/src ChangeLog objects-x.c
Log:
The Xft merge broke the server-side X11 charset font cache.
Revision Changes Path
1.909 +7 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.908
retrieving revision 1.909
diff -u -p -r1.908 -r1.909
--- ChangeLog 2005/12/18 22:55:51 1.908
+++ ChangeLog 2005/12/20 22:01:50 1.909
@@ -1,3 +1,10 @@
+2005-12-20 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * objects-x.c (x_find_charset_font):
+ Return Qnil on no match, not Qunbound. Fixes performance issues
+ based on the use of this return value in
+ objects.c:font_instantiate
+
2005-12-18 Aidan Kehoe <kehoea(a)parhasard.net>
* syntax.c (charset_syntax):
1.31 +1 -1 XEmacs/xemacs/src/objects-x.c
Index: objects-x.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/objects-x.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -r1.30 -r1.31
--- objects-x.c 2005/11/26 18:25:03 1.30
+++ objects-x.c 2005/12/20 22:01:52 1.31
@@ -1175,7 +1175,7 @@ x_find_charset_font (Lisp_Object device,
Extbyte **names;
int count = 0;
const Extbyte *patternext;
- Lisp_Object result = Qunbound;
+ Lisp_Object result = Qnil;
int i;
/* #### with Xft need to handle second stage here -- sjt
Show replies by date