Disabling subpixel font anti-aliasing
Unsolved
QML and Qt Quick
-
I've been working on a QML app, and noticed that Qt seems to automatically apply subpixel anti-aliasing to fonts in my app (see the below image for an example of what I mean).
I would like to disable this behaviour and use only greyscale rendering.I've tried setting the style strategy of
QFont
toQFont::NoSubpixelAntialias
, however this doesn't seem to have an effect. I would appreciate any pointers on how to solve this.For context, this app is running on Linux, using Wayland and Qt 6.5.