-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Set canvas rendering dpi from window dpi #3847
Conversation
@m-kuhn sure, I'll check it ASAP, what exactly should I test? |
It doesn't work apparently qgis/homebrew-qgisdev#5 (comment). I think there's something else required to make it work, but don't know what... |
@elpaso possibly setting the env variable |
@m-kuhn I can test it only on a retina Macbook pro running Kubuntu xenial (I cannot build on MacOS, sorry and my other 4k machine has only a Qt4 toolchain), but what exactly does not work in current master and it's supposed to be fixed with your patch? I need the procedure for what to test. The map canvas DPIs? I'll have time to test it right after christmas. |
I don't know anything more than is written in here: qgis/homebrew-qgisdev#5 I assume it's a matter of making sure that
I'm sorry I really cannot be of anymore help. |
I've checked this PR on kubuntu xenial QT 5.5.1 on a retina screen 220dpi and makes no difference: the mDPI is already set at 220, so that line does nothing. |
Thanks. So it's already rendered in HighDpi. In this case it's maybe a mac issue or only happens in newer Qt versions, but unlikely that this patch fixes anything. |
@elpaso I think you have a high dpi device to verify the patch?