After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683330 - Font anti-aliasing sub-pixel defect in GIMP 2.8.x with KDE
Font anti-aliasing sub-pixel defect in GIMP 2.8.x with KDE
Status: RESOLVED DUPLICATE of bug 657047
Product: GIMP
Classification: Other
Component: General
2.8.2
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2012-09-04 13:58 UTC by Tyson Tan
Modified: 2012-09-04 20:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Font anti-aliasing sub-pixel defect in GIMP 2.8.x with KDE (97.77 KB, image/png)
2012-09-04 13:58 UTC, Tyson Tan
Details
Correct text antialias after applying the workaround. (96.31 KB, image/png)
2012-09-04 14:01 UTC, Tyson Tan
Details

Description Tyson Tan 2012-09-04 13:58:54 UTC
Created attachment 223429 [details]
Font anti-aliasing sub-pixel defect in GIMP 2.8.x with KDE

Summary:
In GIMP 2.8.x on a system with KDE installed, after making change to KDE's font anti-alias settings, inserting white texts with anti-aliasing option over colorful background will produce greenish sub-pixel defect around the texts. 

The defect remains after you flatten the image and will be saved in the document.


Reproduce procedure:
1. Ubuntu 12.04.1 LTS with KDE 4.8.5 from Kubuntu PPA installed.
2. Either log in Unity or KDE desktop.
3. In KDE System Settings -> Application Appearance -> Fonts -> Use anti-aliasing -> Enabled -> Configure -> Use Sub-Pixel Rendering, Hinting Type = None
4. Start GIMP, make a red pure background.
5. Insert some white texts over the red background, make sure antialiasing is on.
6. Notice greenish defect around the texts.
7. Select the texts, turn antialiasing off, those defect will disappear.


Workaround:
KDE System Settings -> Application Appearance -> Fonts -> Use anti-aliasing -> Enabled -> Configure -> Uncheck everything

You may apply this workaround when GIMP is running, the effect will show immediately when you select the defect texts in GIMP, then turn antialias off and back on.


Additional Information:
Sometimes such defect won't show up, however I've been plagued by this problem since the day GIMP 2.8 is out. I've encountered such defect on the following configurations more than a few times. On Ubuntu 12.04.1 + KDE 4.8.5 + GIMP 2.8.2 this problem show up everytime after I changed KDE font anti-alias settings.

Ubuntu 12.04 + KDE 4.8.4 + GIMP 2.8.0
Ubuntu 12.04 + KDE 4.8.4 + GIMP 2.8.2
Ubuntu 12.04 + KDE 4.8.5 + GIMP 2.8.2
Ubuntu 12.04 + KDE 4.9.0 + GIMP 2.8.0
Ubuntu 12.04 + KDE 4.9.0 + GIMP 2.8.2
Ubuntu 12.04.1 + KDE 4.8.5 + GIMP 2.8.2

All of them have QT 4.8.2 (libqt libraries) installed.
Comment 1 Tyson Tan 2012-09-04 14:01:46 UTC
Created attachment 223430 [details]
Correct text antialias after applying the workaround.

This screenshot is taken from the same session as the defect one, just after applying the workaround, it was restored realtime. No restarting GIMP is needed.
Comment 2 Michael Natterer 2012-09-04 20:05:20 UTC
According to the fontconfig guys, this is a system misconfiguration, resulting
in system settings being preferred over application settings. It should
of course be the other way around.

And, it's a duplicate bug :)

*** This bug has been marked as a duplicate of bug 657047 ***