[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/kdebase/devel kdebase-3.5.4-konsole-bz#203221.patch, NONE, 1.1 kdebase.spec, 1.213, 1.214



Author: than

Update of /cvs/dist/rpms/kdebase/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv24262

Modified Files:
	kdebase.spec 
Added Files:
	kdebase-3.5.4-konsole-bz#203221.patch 
Log Message:
fix #203221, konsole does not display bold characters


kdebase-3.5.4-konsole-bz#203221.patch:
 TEScreen.cpp |    2 +-
 TEWidget.cpp |   12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

--- NEW FILE kdebase-3.5.4-konsole-bz#203221.patch ---
Index: konsole/konsole/TEScreen.cpp
===================================================================
--- konsole/konsole/TEScreen.cpp	(Revision 570193)
+++ konsole/konsole/TEScreen.cpp	(Revision 570194)
@@ -501,7 +501,7 @@
 void TEScreen::effectiveRendition()
 // calculate rendition
 {
-  ef_re = cu_re & (RE_UNDERLINE | RE_BLINK);
+  ef_re = cu_re & (RE_UNDERLINE | RE_BLINK | RE_BOLD);
   if (cu_re & RE_REVERSE)
   {
     ef_fg = cu_bg;
Index: konsole/konsole/TEWidget.cpp
===================================================================
--- konsole/konsole/TEWidget.cpp	(Revision 570193)
+++ konsole/konsole/TEWidget.cpp	(Revision 570194)
@@ -677,6 +677,18 @@
   }
 
   // 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


Index: kdebase.spec
===================================================================
RCS file: /cvs/dist/rpms/kdebase/devel/kdebase.spec,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -r1.213 -r1.214
--- kdebase.spec	18 Aug 2006 15:43:00 -0000	1.213
+++ kdebase.spec	21 Aug 2006 14:58:00 -0000	1.214
@@ -18,7 +18,7 @@
 Summary: K Desktop Environment - core files
 Name: kdebase
 Version: 3.5.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 Epoch: 6
 Url: http://www.kde.org
 Group: User Interface/Desktops
@@ -58,6 +58,7 @@
 Patch100: kdebase-3.5.4-halbackend-dbus.patch
 Patch101: kdebase-3.5.4-kde#128552.patch
 Patch102: kdebase-3.5.4-kde#124116.patch
+Patch103: kdebase-3.5.4-konsole-bz#203221.patch
 
 Requires: kdelibs >= %{kdelibs_epoch}:%{version}
 Requires: libxml2 >= 2.6.5
@@ -167,6 +168,7 @@
 %patch100 -p0 -b .halbackend-dbus
 %patch101 -p0 -b .kde#128552
 %patch102 -p0 -b .kde#124116
+%patch103 -p0 -b .bz#203221
 
 %if %{rhel}
    rm -rf kdeprint/kdeprintfax
@@ -536,6 +538,9 @@
 %exclude %{_libdir}/libkdeinit_*
 
 %changelog
+* Mon Aug 21 2006 Than Ngo <than redhat com> 6:3.5.4-4
+- fix #203221, konsole does not display bold characters
+
 * Fri Aug 18 2006 Than Ngo <than redhat com> 6:3.5.4-3
 - fix #203083, correct htdig settings
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]