Please update. All these scaling solutions are not as good as this add-on. I don’t want to scale all elements but to have just bigger font. At present I use font_size: 24 and scaling to get this font size makes other elements ridiculously big.
My screen resolution is 1440x900, 17 inches.
2.1.50 Linux qt6 version
Running anki with ANKI_WEBSCALE=1
or ANKI_NOHIGHDPI=1
doesn’t change anything.
For example with scaling 120% and starting anki like this:
ANKI_WEBSCALE=1 ./anki
Notice the difference between deck name and the rest.
In my opinion this add-on feature should be included in Anki a long time ego to make this problem independent from qt versions.
When loading '<U+2068>Set Font Size<U+2069>':
<U+2068>Traceback (most recent call last):
File "aqt.addons", line 244, in loadAddons
File "/home/user/.local/share/Anki2/addons21/Set Font Size 651521808/__init__.py", line 41, in <module>
changeFontSize()
File "/home/user/.local/share/Anki2/addons21/Set Font Size 651521808/__init__.py", line 39, in changeFontSize
changeWebFontSize()
File "/home/user/.local/share/Anki2/addons21/Set Font Size 651521808/__init__.py", line 33, in changeWebFontSize
wes = QWebEngineSettings.globalSettings()
File "aqt.qt.qt5_compat", line 350, in __getattr__
AttributeError: type object 'QWebEngineSettings' has no attribute 'globalSettings'
Edition:
Thank you for updating.