#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Tue, 18 Sep 2018 11:45:14 +0200
changeset 8473 81e8c2f8bdb9
parent 8472 9389cb9cf9c3
child 8474 188ea2097804
#BUGFIX by cg class: XftFontDescription changed: #widthOf:from:to:
XftFontDescription.st
--- a/XftFontDescription.st	Mon Sep 17 14:57:22 2018 +0200
+++ b/XftFontDescription.st	Tue Sep 18 11:45:14 2018 +0200
@@ -1176,6 +1176,10 @@
 
     (stop < start) ifTrue:[^ 0].
     fixedWidth == true ifTrue:[
+        width isNil ifTrue:[
+            "/ only happens after image restart
+            width := self width
+        ].    
         ^ width * (stop - start + 1)
     ].
     device isNil ifTrue:[
@@ -1190,6 +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"
 ! !
 
 !XftFontDescription methodsFor:'release'!