Heimer icon indicating copy to clipboard operation
Heimer copied to clipboard

The font is blur in HIDPI screen

Open gnozil opened this issue 3 years ago • 2 comments

Please see the attached screen shot, the font in diagram is unclear. My system is Ubuntu 21.10 on 4K screen, and system wide screen scale is 2.25. Screenshot.zip -- it looks like .png is not supported, but .png.zip is supported.

gnozil avatar Dec 14 '21 14:12 gnozil

Thanks for reporting!

I'm not sure what happens there. My display is 2560x1440 with 100% scale so I haven't played that much with 4K screens. I tried some other scales and while Heimer did look horrible and weird I couldn't reproduce that issue. Maybe it needs a 4K screen. However, there's a similar issue with node background images so maybe we need to increase the node size to get more "resolution".

Have you tried the environment variables documented here: https://doc.qt.io/qt-5/highdpi.html

juzzlin avatar Dec 14 '21 20:12 juzzlin

Have you tried the environment variables documented here: https://doc.qt.io/qt-5/highdpi.html

Yes, this is the default setting in my system:

$ env | grep SCALE
QT_AUTO_SCREEN_SCALE_FACTOR=1

I also tried with other qt env variables combination specifically before launching Heimer, but got worse results: either toolbar font turned to too large, or diagram font turned to too blur.

gnozil avatar Dec 14 '21 23:12 gnozil