use red color instead of bold
authorClaus Gittinger <cg@exept.de>
Fri, 26 Mar 1999 14:26:50 +0100
changeset 1287 48e6c847a554
parent 1286 d22e114ac9e2
child 1288 962e32c9c471
use red color instead of bold for highlighted text under WIN32
VT100TerminalView.st
--- a/VT100TerminalView.st	Thu Mar 25 16:57:47 1999 +0100
+++ b/VT100TerminalView.st	Fri Mar 26 14:26:50 1999 +0100
@@ -101,7 +101,14 @@
     (parameters at:1) == 1 ifTrue:[
         "/ ESC-[-1-m  -> bold
 
-        self bold.
+        "/ workaround: windows bold fonts are
+        "/ wider, leading to ugly looking output
+        "/ Therefore, use red color instead of bold
+        Display platformName = 'WIN32' ifTrue:[
+            self color:Color red.
+        ] ifFalse:[
+            self bold.
+        ].
         ^ self.
     ].
     (parameters at:1) == 7 ifTrue:[
@@ -115,7 +122,7 @@
     self normal.
 
     "Created: / 10.6.1998 / 15:01:16 / cg"
-    "Modified: / 28.7.1998 / 00:51:57 / cg"
+    "Modified: / 26.3.1999 / 14:31:53 / cg"
 !
 
 doClearDisplay
@@ -560,5 +567,5 @@
 !VT100TerminalView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/VT100TerminalView.st,v 1.22 1998-08-05 15:16:02 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/VT100TerminalView.st,v 1.23 1999-03-26 13:26:50 cg Exp $'
 ! !