[SOLVED] User interface font size on hi-res display

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
Bernardo.
Registered Member
Posts: 2
Joined: Sun Jul 11, 2021 10:53 am

[SOLVED] User interface font size on hi-res display

Post by Bernardo. » Sun Jul 11, 2021 11:02 am

Hi,
Running QCAD Pro 3.26.4.0 on Debian 10, with monitor resolution 3840x2160.
Struggling to read small print e.g. the console text - it is tiny.
Tried Application Preferences / General / User Interface and increased the scaling factor to 2 - it's better but not good enough.
Is there any other way to make dialog windows, console etc a bit more readable?
Thanks
Last edited by Bernardo. on Mon Jul 12, 2021 12:16 pm, edited 1 time in total.

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: User interface font size on hi-res display

Post by andrew » Mon Jul 12, 2021 7:14 am

Under Linux, please try to set environment variables as documented at:
https://doc.qt.io/qt-5/highdpi.html#hig ... port-in-qt

You can best do this in the "qcad" start script. I'd suggest to try these settings:

Code: Select all

# default:
QT_AUTO_SCREEN_SCALE_FACTOR=1 LD_LIBRARY_PATH="$DIR" "$binary" "$@"

# no auto scale:
QT_AUTO_SCREEN_SCALE_FACTOR=0 LD_LIBRARY_PATH="$DIR" "$binary" "$@"

# manual factor of 2 (large):
QT_SCALE_FACTOR=2 QT_AUTO_SCREEN_SCALE_FACTOR=1 LD_LIBRARY_PATH="$DIR" "$binary" "$@"

# manual factor of 4 (huge):
QT_SCALE_FACTOR=4 QT_AUTO_SCREEN_SCALE_FACTOR=1 LD_LIBRARY_PATH="$DIR" "$binary" "$@"

Bernardo.
Registered Member
Posts: 2
Joined: Sun Jul 11, 2021 10:53 am

User interface font size on hi-res display

Post by Bernardo. » Mon Jul 12, 2021 12:15 pm

yep, that did the trick; didn't occur to me to search for Qt settings but it makes sense now that you mentioned it;
thanks for the link and info Andrew

leetschi
Newbie Member
Posts: 9
Joined: Wed Oct 20, 2021 7:53 pm

Re: [SOLVED] User interface font size on hi-res display

Post by leetschi » Wed Oct 20, 2021 8:00 pm

Hello Andrew, hello Bernardo

I have the same problem. But I really don't know where to find the "qcad" start script.
Would be lovely if you could give me a hint.

I'm on Linux and QCAD Version 3.26.4.0 (3.26.4)

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: [SOLVED] User interface font size on hi-res display

Post by andrew » Wed Oct 20, 2021 9:47 pm

leetschi: It's in your QCAD installation directory. Most likely (if you used the installer) under:

~/opt/qcad-3.26.4-pro-linux-x86_64/qcad

Or similar.

leetschi
Newbie Member
Posts: 9
Joined: Wed Oct 20, 2021 7:53 pm

Re: [SOLVED] User interface font size on hi-res display

Post by leetschi » Thu Oct 21, 2021 5:27 am

Thank you very much Andrew!

Post Reply

Return to “QCAD 'How Do I' Questions”