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 792669 - Text has cyan/yellow antialiasing due to fontconfig-infinality
Text has cyan/yellow antialiasing due to fontconfig-infinality
Status: RESOLVED DUPLICATE of bug 708052
Product: GIMP
Classification: Other
Component: General
2.9.8
Other Linux
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2018-01-19 09:05 UTC by BugsBunny
Modified: 2018-01-19 15:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of the problem (42.26 KB, image/png)
2018-01-19 09:05 UTC, BugsBunny
Details
System font settings (111.03 KB, image/png)
2018-01-19 09:11 UTC, BugsBunny
Details

Description BugsBunny 2018-01-19 09:05:57 UTC
Created attachment 367058 [details]
screenshot of the problem

Text has cyan/yellow colors making it impossible to use GIMP to add text to an image. Reproduced using all of my fonts (including Times New Roman, Arial, Noto Sans) regardless of hinting method (which appears to be broken).
Comment 1 BugsBunny 2018-01-19 09:11:53 UTC
Created attachment 367060 [details]
System font settings
Comment 2 Michael Schumacher 2018-01-19 12:25:06 UTC
As mentioned in the previous bug, that colored outline hints at a general anti-aliasing misconfiguration on your system - the subpixel hinting is not supposed to bleed into applications.

The best way to approach this would likely be a bug report against your distro, IIRC this has previously been traced back to a issue in the font rendering library or its configuration.
Comment 3 BugsBunny 2018-01-19 12:35:20 UTC
Thanks for the hint. How come GIMP is the only program affected by this? Or, can you suggest some other program I can try which would be susceptible to this if the issue really lies outside of GIMP?
Comment 4 Michael Schumacher 2018-01-19 12:38:03 UTC
Anything based on GTK+ with a canvas similar to GIMP would be a good candidate to try.
Comment 5 Michael Natterer 2018-01-19 13:12:01 UTC
It only affects GIMP because we use the freetype font rendering
backend not the system one to draw text in the image, because it
needs to give identical results on all platforms.
Comment 6 BugsBunny 2018-01-19 13:32:29 UTC
I need a program name.
Comment 7 Jehan 2018-01-19 13:55:03 UTC
I think this is a duplicate of bug 708052.

BugsBunny > Have you installed a package called "fontconfig-infinality" by any chance?
Comment 8 BugsBunny 2018-01-19 14:15:41 UTC
Jehan bingo!
I had that installed, no idea where it came from, and it was old - fontconfig-infinality-20130404
Removed it, no other packages complained about missing deps, and now the color artifacts are gone.
Comment 9 BugsBunny 2018-01-19 14:21:32 UTC
I filed a bug report with my distro to raise awareness about this issue.
Comment 10 Jehan 2018-01-19 14:24:35 UTC
Ok. Closing as a duplicate of bug 708052 then.

This package (which is a patch to freetype from what I read, though the name implies a relationship with fontconfig; but I have not dug much into this) is very annoying (and bugged) since we have had countless reports for this issue over the years.

I really hope the last distributions still providing packages for this would just soon drop it. Even their website (cf. bug 708052, comment 8) is apparently down now.

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