GDQuest / learn-gdscript

Learn Godot's GDScript programming language from zero, right in your browser, for free.
https://gdquest.github.io/learn-gdscript/
Other
2.07k stars 153 forks source link

Blurry rendering of the Windows desktop app when Windows scaling is greater than 100% #484

Open ChristopherLeitner opened 2 years ago

ChristopherLeitner commented 2 years ago

I'm submitting a...

Bug report

What is the current behavior? When the Windows scaling is above 100%, the output of the app becomes blurry

What is the expected behavior? The output of the app should always be as sharp as the set display resolution

Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem. 1.) Right click on Windows desktop -> click "Display settings" 2.) In the "Scale and layout" section, select the "Change the size of text, apps and other items" dropdown box and change the value to a number greater than 100%. https://imgur.com/a/tddsjRE

Other

Other information

Workaround: 2 ways to work around the issue: 1.) In "Display settings", go to "Advanced scaling options". Switch "Fix scaling for apps"- "Let Windows try to fix apps so they are not blurry" to "On" 2.)Right Click on "learn_to_code.exe" and select Properties. Click on "Compatibility" tab. Click "Change High DPI settings". Set checkmark on "High DPI scaling override" and select "Application" in the dropdown box.

Calinou commented 1 year ago

DPI awareness is already enabled in the Project Settings since https://github.com/GDQuest/learn-gdscript/commit/d3b280cb03d8162d9fb2c405378838148a1742e6, so overriding the DPI scaling mode to Application shouldn't be required in the executable properties.