Bug 2212512 - fontconfig package installs 10-sub-pixel-rgb-for-kde.conf by default in /etc/fonts/conf.d
Summary: fontconfig package installs 10-sub-pixel-rgb-for-kde.conf by default in /etc/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fontconfig
Version: 38
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-05 18:48 UTC by Anthony DeDominic
Modified: 2023-06-16 09:27 UTC (History)
8 users (show)

Fixed In Version: fontconfig-2.14.2-3.fc39
Clone Of:
Environment:
Last Closed: 2023-06-16 09:27:04 UTC
Type: ---
Embargoed:
tagoh: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-862 0 None None None 2023-06-16 09:15:36 UTC

Description Anthony DeDominic 2023-06-05 18:48:43 UTC
/etc/fonts/conf.d/10-sub-pixel-rgb-for-kde.conf seems to be included with the fontconfig package. It doesn't appear to be in /usr/share/conf.avail, where I would expect and symlinked into conf.d.
ontop of that, it causes font rasterizing problems in some applications such as GTK applications on KDE where the display is not using an rbg subpixel geometry.

Users should add this to their local fontconfig and probably shouldn't be the default.

Reproducible: Always

Steps to Reproduce:
1. Use the KDE desktop
2. Launch evolution and attempt to read email
Actual Results:  
Text has extreme rainbow fringing

Expected Results:  
for rgb subpixel rendering to be disabled.

I already have an existing $XDG_CONFIG_HOME/fontconfig/ and it looks like KDE's settings application fiddles with it, which may explain why I experienced this issue specifically, despite turning it off there. Either way, the way this file is installed seems wrong to me given most files in this directory are symlinked.

the, workaround/potential fix, is trivial, simply delete the file from conf.d and the problem appears to go away.

Also:
 * I have an existing installation of GNOME and installed kde using @kde-desktop group.
 * # dnf whatprovides /etc/fonts/conf.d/10-sub-pix
el-rgb-for-kde.conf
Last metadata expiration check: 1:06:37 ago on Mon 05 Jun 2023 01:39:47 PM EDT.
fontconfig-2.14.2-1.fc38.i686 : Font configuration and
                              : customization library
Repo        : @System
Matched from:
Filename    : /etc/fonts/conf.d/10-sub-pixel-rgb-for-kde.conf

fontconfig-2.14.2-1.fc38.i686 : Font configuration and
                              : customization library
Repo        : fedora
Matched from:
Filename    : /etc/fonts/conf.d/10-sub-pixel-rgb-for-kde.conf

fontconfig-2.14.2-1.fc38.x86_64 : Font configuration and
                                : customization library
Repo        : @System
Matched from:
Filename    : /etc/fonts/conf.d/10-sub-pixel-rgb-for-kde.conf

fontconfig-2.14.2-1.fc38.x86_64 : Font configuration and
                                : customization library
Repo        : fedora
Matched from:
Filename    : /etc/fonts/conf.d/10-sub-pixel-rgb-for-kde.conf

Comment 1 Fedora Update System 2023-06-16 09:25:52 UTC
FEDORA-2023-f38bf244f5 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f38bf244f5

Comment 2 Fedora Update System 2023-06-16 09:27:04 UTC
FEDORA-2023-f38bf244f5 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.