You are not logged in.

#1 2024-04-06 15:33:42

zw963
Member
Registered: 2018-06-18
Posts: 200

[SOLVED] tiny menu font for QT app on 4K #32 after install plasma

Hi, I use GNOME + wayland.  I installed plasma 6 a few days ago, when that I re-entered GNOME, the display scale 100%,  font scale factor set to 2.0,
But all the QT app menu fonts became very very small, How to fix that? Is there a font setting program for qt applications only?

because all GTK app display good in GNOME, at the same time, GTK + QT both display very well on plasma 6, it just not work for qt display in GNOME.

thanks.

Last edited by zw963 (2024-04-15 13:32:19)

Offline

#2 2024-04-06 16:20:26

seth
Member
Registered: 2012-09-03
Posts: 51,655

Offline

#3 2024-04-06 16:39:30

zw963
Member
Registered: 2018-06-18
Posts: 200

Re: [SOLVED] tiny menu font for QT app on 4K #32 after install plasma

Hi, i set both $QT_AUTO_SCREEN_SCALE_FACTOR and $QT_ENABLE_HIGHDPI_SCALING to 1, but not work.

probably i am not correct describe my issue?

i create a new github issue, with a screenshot (which can describe my issue clearly)

please have a look

https://github.com/zw963/zw963/issues/1

thank you.

Offline

#4 2024-04-06 20:52:54

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: [SOLVED] tiny menu font for QT app on 4K #32 after install plasma

QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_SCALE_FACTOR=2 okular
QT_FONT_DPI=140 okular

Offline

#5 2024-04-15 13:29:00

zw963
Member
Registered: 2018-06-18
Posts: 200

Re: [SOLVED] tiny menu font for QT app on 4K #32 after install plasma

# ~/.profile

export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCALE_FACTOR=2
export QT_FONT_DPI=140

It works like a charm!  for my 4K #32 dell monitor, thank you!

Offline

Board footer

Powered by FluxBB