[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [systemsettings] [Bug 336089] Font preview - rendering problem
From: Thomas Lübking via KDE Bugzilla <bugzilla_noreply () kde
Date: 2016-01-09 10:57:55
Message-ID: bug-336089-17878-s6UV3eq76O () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=336089
--- Comment #42 from Thomas Lübking <thomas.luebking@gmail.com> ---
Yes, is. Stunning.
The xft image is RGB32 here, may depend on whether it's set to translucent
(though there ARGB32 instead of pre-multiplied is used)
We need this patch tested on all possible GPUs (notably intel/sna!)
diff --git a/kcms/kfontinst/lib/FcEngine.cpp b/kcms/kfontinst/lib/FcEngine.cpp
index 19b7206..6c731dc 100644
--- a/kcms/kfontinst/lib/FcEngine.cpp
+++ b/kcms/kfontinst/lib/FcEngine.cpp
@@ -537,7 +537,7 @@ QImage CFcEngine::Xft::toImage(int w, int h) const
if (!xImage) {
return QImage();
}
- return QImage(xImage->data, xImage->width, xImage->height, xImage->stride,
QImage::Format_ARGB32_Premultiplied, &cleanupXImage, xImage);
+ return QImage(xImage->data, xImage->width, xImage->height, xImage->stride,
QImage::Format_RGB32, &cleanupXImage, xImage);
}
inline int point2Pixel(int point)
--
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic