Bug 482128

Summary: kontact does not show antialiased fonts in mail content (and in akregator)
Product: [Applications] kontact Reporter: Jaime Perea <jaime.perea>
Component: mailAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: boite.pour.spam, gerald.drissner, kapsh, kde, nicolas.fella, ray, stephanolbrich
Priority: NOR    
Version: 6.0.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jaime Perea 2024-03-01 08:59:46 UTC
SUMMARY
kontact is not showing antialiased fonts in the mail content  panel (and in akregator), the effect is very clear in a screen with 175% fractional scaling.
Comment 1 Jaime Perea 2024-03-01 11:55:00 UTC
 Tested while running in wayland, in X11 it renders much better
Comment 2 Nicolas Fella 2024-03-08 22:41:34 UTC
This is https://bugreports.qt.io/browse/QTBUG-113574
Comment 3 Nicolas Fella 2024-03-08 22:42:17 UTC
*** Bug 482445 has been marked as a duplicate of this bug. ***
Comment 4 Jaime Perea 2024-03-11 09:03:29 UTC
(In reply to Nicolas Fella from comment #2)
> This is https://bugreports.qt.io/browse/QTBUG-113574

As mentioned there

QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor

Allow me to watch my emails again with nice font rendering. BTW I don't know what I am doing. It seems that it's a workaround
Comment 5 Nicolas Fella 2024-03-15 15:20:27 UTC
*** Bug 483634 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2024-03-18 13:37:56 UTC
*** Bug 483475 has been marked as a duplicate of this bug. ***
Comment 7 Iyán Méndez Veiga 2024-04-22 19:13:05 UTC
*** Bug 482445 has been marked as a duplicate of this bug. ***
Comment 8 boite.pour.spam 2024-05-17 10:18:41 UTC
Notice that QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor doesn't solve the issue. The main issue is that the selected font in the configuration isn't used. In KMail, if you go to Configuration / Configure KMail / Appearance / Font  and select "Message text", in Plasma 5, you could change the displayed message font and size. In Plasma 6, you can't, it simply ignored.

The only thing you can change is, in General tab, the minimum size for the font used