Author: spitzak
Date: 2007-10-17 12:46:35 -0700 (Wed, 17 Oct 2007)
New Revision: 5955
Log:
Fix from Johannes Hofmann for drawing 16-bit characters using
Xlfd fonts


Modified:
   trunk/src/x11/Font_xlfd.cxx

Modified: trunk/src/x11/Font_xlfd.cxx
===================================================================
--- trunk/src/x11/Font_xlfd.cxx 2007-10-17 18:47:02 UTC (rev 5954)
+++ trunk/src/x11/Font_xlfd.cxx 2007-10-17 19:46:35 UTC (rev 5955)
@@ -432,7 +432,7 @@
 #if !X_UTF8_FONT
     XDrawString16(xdisplay, xwindow, gc,
                  int(floorf(x+.5f)),
-                 int(floorf(y+.5f)), buffer, n);
+                 int(floorf(y+.5f)), buffer, count);
 #else
 #ifdef FONT_DEBUG
        //printf("current = %s\n", current->name);

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to