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

blurry text on high DPI monitors (Windows) #12

Closed
simonmcconnell opened this issue Nov 23, 2021 · 4 comments
Closed

blurry text on high DPI monitors (Windows) #12

simonmcconnell opened this issue Nov 23, 2021 · 4 comments

Comments

@simonmcconnell
Copy link

Hello!

I downloaded your diode app a while ago as I was interested in what this would look like. I noticed that the text was blurry on my laptop (4k and 200% scaling) but seemed ok on the external monitor. I'm tinkering with converting my wx app to webview and notice the same thing with my app. If I zoom in, at a point it becomes crisp.

From a quick search, it looks like we need to mark the exe as DPI aware (relevant wxWidgets issue). And a WebView issue where they point to using SetProcessDpiAware.

I just wanted to flag this. It's not a showstopper for me but I want to look into it at some point.

@dominicletz
Copy link
Collaborator

Thanks for this report! I've checked those issues and like the idea about the manifest. We'll probably bundle the manifest file, and can do the same for the desktop bundler scripts as soon as they get released.
Found this example of a relevant manifest from msft: https://docs.microsoft.com/en-us/windows/win32/hidpi/setting-the-default-dpi-awareness-for-a-process

@dominicletz
Copy link
Collaborator

Just a small update here, I fixed that for my app in the deployment script by embedding a win32 manifest file in the shipped .exe - This is becoming part of the forthcoming win32 package installer!

@simonmcconnell
Copy link
Author

What installer are you going for?

@dominicletz
Copy link
Collaborator

nsis2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants