Bug 2459509 - Blurry font with Qt 5.15
Summary: Blurry font with Qt 5.15
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5
Version: 45
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Grulich
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/luigifab/awf-extended
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-19 12:25 UTC by code@luigifab.fr
Modified: 2026-10-08 10:05 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
To see the problem (32.57 KB, image/png)
2026-04-19 12:26 UTC, code@luigifab.fr
no flags Details
Fedora Qt versions (90.98 KB, image/png)
2026-04-19 12:27 UTC, code@luigifab.fr
no flags Details
Debian Qt versions (52.25 KB, image/png)
2026-04-19 12:27 UTC, code@luigifab.fr
no flags Details

Description code@luigifab.fr 2026-04-19 12:25:56 UTC
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.

Comment 1 code@luigifab.fr 2026-04-19 12:26:36 UTC
Created attachment 2137603 [details]
To see the problem

Comment 2 code@luigifab.fr 2026-04-19 12:27:01 UTC
Created attachment 2137604 [details]
Fedora Qt versions

Comment 3 code@luigifab.fr 2026-04-19 12:27:15 UTC
Created attachment 2137605 [details]
Debian Qt versions

Comment 4 Aoife Moloney 2026-08-17 14:34:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 5 code@luigifab.fr 2026-10-08 10:05:42 UTC
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.


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