changed: #fontMetricsOf:
authorStefan Vogel <sv@exept.de>
Thu, 14 Apr 2011 10:17:15 +0200
changeset 5741 5cfdae180ad7
parent 5740 21319eb4135f
child 5742 3edcdffa74ec
changed: #fontMetricsOf: average width is with of 'n' instead of ' '
XWorkstation.st
--- a/XWorkstation.st	Thu Apr 07 09:35:18 2011 +0200
+++ b/XWorkstation.st	Thu Apr 14 10:17:15 2011 +0200
@@ -6258,7 +6258,7 @@
                 maxWidth = __MKSMALLINT(f->max_bounds.width);
 
                 ENTER_XLIB();
-                len = XTextWidth(f, " ", 1);
+                len = XTextWidth(f, "n", 1);
                 LEAVE_XLIB();
 
                 avgWidth = __MKSMALLINT( len );
@@ -12023,11 +12023,11 @@
 !XWorkstation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.517 2011-04-01 14:13:34 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.518 2011-04-14 08:17:15 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.517 2011-04-01 14:13:34 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.518 2011-04-14 08:17:15 stefan Exp $'
 ! !
 
 XWorkstation initialize!