rafatosta / zapzap

WhatsApp desktop application written in Pyqt6 + PyQt6-WebEngine.
GNU General Public License v3.0
55 stars 2 forks source link

How to increase font size in ZapZap? #105

Closed EkanshdeepGupta closed 1 year ago

EkanshdeepGupta commented 1 year ago

I am running ZapZap v 4.0 on Fedora 36 GNOME 42.3

I have changed the font scaling factor in GNOME Tweaks to 1.75 to make things readable on a 4k monitor.

However, ZapZap does not scale its font accordingly. Moreover, I cannot find settings inside ZapZap to increase font size. Is there a way to increase font size in ZapZap?

Thanks, Ekansh

rafatosta commented 1 year ago

The only way at the moment is to set the following environment variable by Flatseal:

QT_SCALE_FACTOR=1.75

Remembering that there may be fields with the texts cut, unfortunately.

I've marked as improvements to implement this in the future. thanks for reporting

rafatosta commented 1 year ago

High DPI Displays

I found this here to use autoscale, just haven't been able to test it yet.

set the QT_AUTO_SCREEN_SCALE_FACTOR environment variable to 1.

rafatosta commented 1 year ago

Note: The scale factor is already applied automatically to the application when running outside FlatPak.

Somehow when executing in Flatpak is not recognized or with the defined environment variable, just defining QT_SCALE_FACTOR manually.

rafatosta commented 1 year ago

When using Wayland the QT_AUTO_SCREEN_SCALE_FACTOR is fully ignored.

While there is no solution by QT the possible solutions are:

  1. Use X11; or
  2. Manually define the QT_SCALE_FACTOR environment variable in Flatseal