Bug 2137825

Summary: fontconfig 2.14.1 breaks hinting
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: fontconfigAssignee: Akira TAGOH <tagoh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ajax, caillon+fedoraproject, fonts-bugs, gnome-sig, i18n-bugs, mclasen, pnemade, rstrode, sandmann, tagoh, tomaszgasior
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fontconfig-2.14.1-2.fc38 fontconfig-2.14.1-2.fc37 fontconfig-2.14.1-2.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-29 01:11:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vít Ondruch 2022-10-26 10:26:07 UTC
Description of problem:
After update to fontconfig-2.14.1-1.fc38.x86_64, fonts have red/blue shadows. Therefore I guess the font hinting is somehow broken.


Version-Release number of selected component (if applicable):
$ rpm -q fontconfig
fontconfig-2.14.1-1.fc38.x86_64


How reproducible:


Steps to Reproduce:
1. This is most obvious in TB email from BZ, where the '|' pipe character has shadows.
2.
3.

Actual results:
The characters has red/blue shadows


Expected results:
Characters without shadows


Additional info:
I have downgraded back to fontconfig-2.14.0-2.fc37.x86_64 for the time being.

Comment 1 Akira TAGOH 2022-11-17 09:23:39 UTC
Which desktop are you using? 2.14.1 enables 10-sub-pixel-rgb.conf by default but only when it isn't set anywhere else. if it isn't comfortable for your monitor, you may want to enable other sub-pixel antialiasing option from either of 10-sub-pixel-*.conf into your config.

Comment 2 Vít Ondruch 2022-11-21 16:22:14 UTC
(In reply to Akira TAGOH from comment #1)
> Which desktop are you using?

Gnome.

Going to ignore the rest of the answer for now, because I hope there is better solution then me fiddling with some configuration files.

Comment 3 Fedora Update System 2022-11-26 07:07:47 UTC
FEDORA-2022-95d0531446 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-95d0531446

Comment 4 Fedora Update System 2022-11-26 07:08:14 UTC
FEDORA-2022-95d0531446 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2022-11-26 07:34:55 UTC
FEDORA-2022-e8401578c3 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-e8401578c3

Comment 6 Fedora Update System 2022-11-26 07:34:56 UTC
FEDORA-2022-870b576d8d has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-870b576d8d

Comment 7 Fedora Update System 2022-11-27 03:21:48 UTC
FEDORA-2022-870b576d8d has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-870b576d8d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-870b576d8d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2022-11-27 03:28:27 UTC
FEDORA-2022-e8401578c3 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-e8401578c3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-e8401578c3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-11-29 01:11:29 UTC
FEDORA-2022-870b576d8d has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Vít Ondruch 2022-11-29 11:25:45 UTC
I have updated yesterday to fontconfig-2.14.1-2.fc38.x86_64 and the rendering looks fine. Do I understand correctly that the changes which triggered this tickets are now just KDE specific? Anyway, this seems to be resolved, so thank you.

Comment 11 Akira TAGOH 2022-11-29 11:56:26 UTC
Yes, sub-pixel rendering with RGB-striped layout is enabled for KDE only according to their request.

Comment 12 Fedora Update System 2022-12-12 01:39:54 UTC
FEDORA-2022-e8401578c3 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.