? count.diff
Index: xftdraw.c
===================================================================
RCS file: /local/src/CVS/Xft/xftdraw.c,v
retrieving revision 1.29
diff -u -p -u -r1.29 xftdraw.c
--- xftdraw.c	17 Jun 2003 17:37:26 -0000	1.29
+++ xftdraw.c	23 Sep 2003 22:42:31 -0000
@@ -483,6 +483,10 @@ XftDrawGlyphs (XftDraw		*draw,
 {
     XftFontInt	*font = (XftFontInt *) pub;
 
+    static int total_glyphs = 0;
+    total_glyphs += nglyphs;
+    fprintf (stderr, "XftDrawGlyphs: total_glyphs = %d\n", total_glyphs);
+
     if (font->format)
     {
 	Picture	    src;
@@ -684,6 +688,10 @@ XftDrawGlyphSpec (XftDraw		*draw,
 {
     XftFontInt	*font = (XftFontInt *) pub;
 
+    static int total_glyphs = 0;
+    total_glyphs += len;
+    fprintf (stderr, "XftDrawGlyphSpec: total_glyphs = %d\n", total_glyphs);
+
     if (font->format)
     {
 	Picture	src;
@@ -712,6 +720,10 @@ XftDrawGlyphFontSpec (XftDraw			*draw,
     int		i;
     int		start;
 
+    static int total_glyphs = 0;
+    total_glyphs += len;
+    fprintf (stderr, "XftDrawGlyphFontSpec: total_glyphs = %d\n", total_glyphs);
+
     i = 0;
     while (i < len)
     {
