XftFontDescription.st
changeset 8474 188ea2097804
parent 8473 81e8c2f8bdb9
child 8493 c73b458e5475
--- a/XftFontDescription.st	Tue Sep 18 11:45:14 2018 +0200
+++ b/XftFontDescription.st	Tue Sep 18 11:45:54 2018 +0200
@@ -1178,7 +1178,7 @@
     fixedWidth == true ifTrue:[
         width isNil ifTrue:[
             "/ only happens after image restart
-            width := self width
+            width := self widthOf:' '
         ].    
         ^ width * (stop - start + 1)
     ].
@@ -1194,7 +1194,7 @@
     "Created: / 21-12-2013 / 10:42:15 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 29-12-2013 / 21:16:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 20-07-2018 / 19:00:50 / Stefan Vogel"
-    "Modified: / 18-09-2018 / 11:44:55 / Claus Gittinger"
+    "Modified: / 18-09-2018 / 11:45:46 / Claus Gittinger"
 ! !
 
 !XftFontDescription methodsFor:'release'!