-
-
Notifications
You must be signed in to change notification settings - Fork 71
Scaling and AA Issue with Canvas #378
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
Comments
Created by: benfry Beta 4 should now be doing the correct thing… scaling up a sketch if you haven't specified |
Created by: pigsteel I'll check. I remember briefly experimenting with those settings and it not fixing anything but I might be wrong |
Created by: pigsteel Display density returned 1. Messed around with pixel density to no avail |
Created by: Omnificator I have the same issue on Windows 10, FullHD, scaled to 125%.
Here is the output: |
Created by: benfry Yuck, ok—will have to check into it further. We're not doing any scaling, certainly, it's just that we have to figure out what Windows is doing to be “smart” and shut it off. |
Created by: benfry Ok, sorted out for beta 6. The solution is to detect the current Windows scaling (difficult, requires native code) and then override it to either 1x or 2x based on what's likely to work best in the situation. Longer explanations of all of it: https://github.com/processing/processing4/tree/master/build/windows/fenster |
Created by: github-actions[bot] This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs. |
Created by: pigsteel
Description
Following b3 (specifically the scaling fixes for windows 10 and 11) the canvas size multiplies by scaling rather than staying at its specified size. Have not noticed any anti-aliasing problems related to this on windows 10 but on windows 11 (on any anti aliasing/smoothing settings) sprites and images are blocky and pixelated
Switching back to b2 fixes canvas
Expected Behavior
Canvas should follow pixel-measured size defined in size setting
Current Behavior
Does not do this, multiplies by windows Scale setting and creates anti aliasing issues & pixelation
Steps to Reproduce
Your Environment
Possible Causes / Solutions
The text was updated successfully, but these errors were encountered: