[Konsole-devel] [Bug 131770] no bold is displayed in konsole

Kurt V.Hindenburg kurt.hindenburg at kdemail.net
Sun Sep 10 20:01:04 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131770         




------- Additional Comments From kurt.hindenburg kdemail net  2006-09-10 22:01 -------
SVN commit 582860 by hindenburg:

Revert my attempt to fix bold, 570194.

CCBUG: 131770



 M  +1 -1      TEScreen.cpp  
 M  +0 -13     TEWidget.cpp  


--- branches/KDE/3.5/kdebase/konsole/konsole/TEScreen.cpp #582859:582860
 @ -506,7 +506,7  @
 void TEScreen::effectiveRendition()
 // calculate rendition
 {
-  ef_re = cu_re & (RE_UNDERLINE | RE_BLINK | RE_BOLD);
+  ef_re = cu_re & (RE_UNDERLINE | RE_BLINK);
   if (cu_re & RE_REVERSE)
   {
     ef_fg = cu_bg;
--- branches/KDE/3.5/kdebase/konsole/konsole/TEWidget.cpp #582859:582860
 @ -684,19 +684,6  @
     }
   }
 
-  // Paint text
-  if (attr->r & RE_BOLD)
-  {
-    QFont currentFont = paint.font();
-    currentFont.setBold(true);
-    paint.setFont( currentFont );
-  } else {
-    QFont currentFont = paint.font();
-    currentFont.setBold(false);
-    paint.setFont( currentFont );
-  }
-
-
   if (!(blinking && (attr->r & RE_BLINK)))
   {
     // ### Disabled for now, since it causes problems with characters



More information about the konsole-devel mailing list