Broken, Pixelated, Wonky Fonts on Plasma 6 Wayland

I just wanted to share this slightly annoying bug.

Seems to mainly affect ‘fractional scaling’ setups (those using, ex; 125%).

For me it presented as slightly broken fonts in places that would also sometimes fix themselves if a window was ‘refreshed’ somehow such as from a button press.

For now a workaround that fixed it for me was to set the ENV VAR

QT_SCALE_FACTOR_ROUNDING_POLICY="RoundPreferFloor"

(this is a good candidate for a global location like /etc/environment)

After a reboot, thats it, no more wonky fonts.

A small quotation:

For follow up and bug tracking here is a link:

https://bugs.kde.org/show_bug.cgi?id=479891