Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The font is blur in HIDPI screen #192

Open
gnozil opened this issue Dec 14, 2021 · 2 comments
Open

The font is blur in HIDPI screen #192

gnozil opened this issue Dec 14, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@gnozil
Copy link

gnozil commented Dec 14, 2021

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.

@juzzlin
Copy link
Owner

juzzlin commented Dec 14, 2021

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

@gnozil
Copy link
Author

gnozil commented Dec 14, 2021

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.

@juzzlin juzzlin added the bug Something isn't working label Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants