Font.st
changeset 5647 137a4b4eb652
parent 5585 15f2e95a8c20
child 5668 7c7c6df62b22
--- a/Font.st	Mon Nov 08 18:54:15 2010 +0100
+++ b/Font.st	Tue Nov 09 12:59:31 2010 +0100
@@ -631,9 +631,16 @@
         "/ - at least with X11 ...
         width := minWidth
     ].
-    isFixedWidth := minWidth == maxWidth
+    isFixedWidth := minWidth == maxWidth.
 
-    "Modified: / 23-07-2010 / 15:24:36 / cg"
+    "/ a temporary hack for the vista-cleartype font redraw problem
+    isFixedWidth ifFalse:[
+        UserPreferences current workAroundRenderingBugOnVista ifTrue:[
+            self hasOverlappingCharacters:true.
+        ]
+    ].
+
+    "Modified: / 09-11-2010 / 12:58:56 / cg"
 !
 
 getFontMetrics
@@ -1233,11 +1240,11 @@
 !Font class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.124 2010-07-28 08:47:40 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.125 2010-11-09 11:59:31 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.124 2010-07-28 08:47:40 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Font.st,v 1.125 2010-11-09 11:59:31 cg Exp $'
 ! !
 
 Font initialize!