-
Notifications
You must be signed in to change notification settings - Fork 46
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
DPI scaling. #96
Comments
I've just made a PR that fixes the blurry text issue - it's not directly High-DPI related but could help your situation |
Thank you! It's a step further. The main thing I need for myself is just to enable DPI awareness switch in the code (WinAPI call But I'm on Windows and this program uses go-sdl, and I spent a lot of time trying to build it but in the end it took me a lot of time, and I gave up after I needed to compile SDL_gfx for mingw myself, since it's a 3rd party library. |
Ah ok I understand. Not sure if you've tried this, but if its not easy to change in code, there's a possible workaround by bypassing some of Windows' high DPI scaling stuff via the .exe's properties window, which has resolved some DPI issues for me in the past: Its not perfect, because the app still won't be "aware" of the current DPI and so will render at the same pixel-based size when you switch from a low-DPI monitor to a high-DPI one, but at least it should stop Windows making the app appear blurry. |
Currently (at least on Windows) if you have a High-DPI display, everything will appear blurry because the DPI scaling isn't handled properly.
The text was updated successfully, but these errors were encountered: