Fedora Account System
Red Hat Associate
Red Hat Customer
I'm not sure to understand why, but fonts are blurry with my program only with Qt 5.15 (not with Qt 6.10/6.11), and only with Fedora (no problems with Debian Testing). See screenshots. Reproducible: Always Steps to Reproduce: 1. With MATE (GTK3 + QT5/QT6 with GTK3 platform theme) 2. Add in /etc/environment: FREETYPE_PROPERTIES="truetype:interpreter-version=35" 3. Restart your session 4. Install awf-qt5 & awf-qt6 5. Run awf-qt5 & awf-qt6 Actual Results: Fonts are blurry with qt5 (see schreenshots). Expected Results: Same font rendering between qt5 and qt6. Additional Information: You can install human-theme-gtk and qt5-globalqss/qt6-globalqss. But without there is the same problem.
Created attachment 2137603 [details] To see the problem
Created attachment 2137604 [details] Fedora Qt versions
Created attachment 2137605 [details] Debian Qt versions
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle. Changing version to 45.
Claude.ai found a way for Qt 6 for Qt < 6.8 on Ubuntu. Create a font file: fonts.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- for Qt < 6.8 --> <!-- to update this file run: xrdb -query | grep -i '^Xft' --> <!-- then run: FONTCONFIG_FILE="/.../fonts.conf" awf-qt6 --> <include ignore_missing="no">/etc/fonts/fonts.conf</include> <match target="font"> <edit name="antialias" mode="assign"><bool>true</bool></edit> <edit name="hinting" mode="assign"><bool>true</bool></edit> <edit name="hintstyle" mode="assign"><const>hintmedium</const></edit> <edit name="rgba" mode="assign"><const>none</const></edit> <edit name="lcdfilter" mode="assign"><const>lcdnone</const></edit> </match> </fontconfig> Then on Fedora Rawhide run: FONTCONFIG_FILE="/.../fonts.conf" awf-qt5 Same fix for openSUSE Tumbleweed. And the problem is fixed.