Ubuntu 22.04 + tweaks font scaling

I am using tweaks on Ubuntu 22.04 to adjust my font scaling to 0.7. This makes everything more pleasant except for Anki:

In fairness, this only happens on Anki 2.1.26.
The latest version of Anki does not have this problem.
Unfortunately, most of my cards use Cloze Overlapper, which currently only works on 2.1.26.
My current workaround is to just change the scaling when using Anki.
I’m wondering if a less painful workaround exists?

Qt sometimes honors screen DPI scaling, sometimes not, which can cause some issues. Either situations could be causing this.

To try Anki without automatic DPI scaling, you can do QT_AUTO_SCREEN_SCALE_FACTOR=0 anki.
To try Anki with automatic DPI scaling, you can do QT_AUTO_SCREEN_SCALE_FACTOR=1 anki.

Does either of this help, or change anything for you?

3 Likes

QT_AUTO_SCREEN_SCALE_FACTOR=0 worked beautifully.

Very much appreciated.

Thank you!