[qt5-qtbase] Bad font rendering (#1052389,QTBUG-41590)
Rex Dieter
rdieter at fedoraproject.org
Mon Nov 10 14:07:38 UTC 2014
commit 0a278efc524ea95890cf128a06aff35893db565d
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Mon Nov 10 08:07:31 2014 -0600
Bad font rendering (#1052389,QTBUG-41590)
qt-5.3.2-xcb-gamma-tweaks.patch | 10 ++++++++++
qt5-qtbase.spec | 10 +++++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/qt-5.3.2-xcb-gamma-tweaks.patch b/qt-5.3.2-xcb-gamma-tweaks.patch
new file mode 100644
index 0000000..19c4d26
--- /dev/null
+++ b/qt-5.3.2-xcb-gamma-tweaks.patch
@@ -0,0 +1,10 @@
+--- qtbase-opensource-src-5.3.2-ori/src/plugins/platforms/xcb/qxcbintegration.cpp 2014-09-11 12:48:06.000000000 +0200
++++ qtbase-opensource-src-5.3.2/src/plugins/platforms/xcb/qxcbintegration.cpp 2014-10-19 01:21:48.115307241 +0200
+@@ -404,6 +404,7 @@ QVariant QXcbIntegration::styleHint(QPla
+ case QPlatformIntegration::KeyboardAutoRepeatRate:
+ case QPlatformIntegration::PasswordMaskDelay:
+ case QPlatformIntegration::FontSmoothingGamma:
++ return qreal(1.4);
+ case QPlatformIntegration::StartDragVelocity:
+ case QPlatformIntegration::UseRtlExtensions:
+ case QPlatformIntegration::PasswordMaskCharacter:
diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec
index b0bdf20..d52d7dd 100644
--- a/qt5-qtbase.spec
+++ b/qt5-qtbase.spec
@@ -32,7 +32,7 @@
Summary: Qt5 - QtBase components
Name: qt5-qtbase
Version: 5.4.0
-Release: 0.3.%{pre}%{?dist}
+Release: 0.4.%{pre}%{?dist}
# See LGPL_EXCEPTIONS.txt, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@@ -76,6 +76,10 @@ Patch12: qtbase-opensource-src-5.2.0-enable_ft_lcdfilter.patch
# https://bugreports.qt-project.org/browse/QTBUG-27195
# NEEDS REBASE
Patch50: qt5-poll.patch
+# Bad font rendering, http://bugzilla.redhat.com/1052389
+# tweak font gamma correction, from:
+# https://bugreports.qt-project.org/browse/QTBUG-41590
+Patch51: https://bugreports.qt-project.org/secure/attachment/43824/qt-5.3.2-xcb-gamma-tweaks.patch
##upstream patches
@@ -307,6 +311,7 @@ rm -fv mkspecs/linux-g++*/qmake.conf.multilib-optflags
%patch12 -p1 -b .enable_ft_lcdfilter
#patch50 -p1 -b .poll
+%patch51 -p1 -b .xcb-gamma-tweaks
# drop -fexceptions from $RPM_OPT_FLAGS
RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
@@ -793,6 +798,9 @@ fi
%changelog
+* Mon Nov 10 2014 Rex Dieter <rdieter at fedoraproject.org> 5.4.0-0.4.beta
+- Bad font rendering (#1052389,QTBUG-41590)
+
* Mon Nov 03 2014 Rex Dieter <rdieter at fedoraproject.org> 5.4.0-0.3.beta
- macros.qt5: +%%qmake_qt5 , to help set standard build flags (CFLAGS, etc...)
More information about the scm-commits
mailing list