GNOME Bugzilla – Bug 792669
Text has cyan/yellow antialiasing due to fontconfig-infinality
Last modified: 2018-01-19 15:01:25 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).
Created attachment 367060 [details] System font settings
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.
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?
Anything based on GTK+ with a canvas similar to GIMP would be a good candidate to try.
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.
I need a program name.
I think this is a duplicate of bug 708052. BugsBunny > Have you installed a package called "fontconfig-infinality" by any chance?
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.
I filed a bug report with my distro to raise awareness about this issue.
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 ***