[Interest] QtQuick: weird fonts problem

Allan Sandfeld Jensen kde at carewolf.com
Fri Jun 12 09:40:53 CEST 2020


On Freitag, 12. Juni 2020 07:17:30 CEST Jason H wrote:
> From what I've seen, it's a combination of poor font hinting, a bad
> cleartype implementation, it some combination there of. You can change the
> way Qt handles the font hinting, by turning off antialiased text. It'll
> good the issue, but then the text won't appear smooth.

You can also disabled just subpixel antialiasing using 
QFont::NoSubpixelAntialias. Then you should still get graytone antialiasing. 
Hopefully that would work better in this case. You can also disable cleartype 
on the OS level, if you are unable to modify the Qt application.

And on Windows you can try the freetype backend instead of the default windows 
font backend.

'Allan




More information about the Interest mailing list