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

Set default pixel density to the display's density #950

Open
SableRaf opened this issue Feb 21, 2025 · 0 comments
Open

Set default pixel density to the display's density #950

SableRaf opened this issue Feb 21, 2025 · 0 comments
Labels
core enhancement New feature or request

Comments

@SableRaf
Copy link
Collaborator

Most relevant area for this enhancement?

Core/Environment/Rendering

Feature to enhance

pixelDensity()

Desired enhancement

Currently, Processing defaults to pixelDensity(1), requiring users to manually set pixelDensity(2) or pixelDensity(displayDensity()) for high-DPI support. This proposal sets the default to the display's actual density, improving visual quality by default while allowing users to override it.

Potential benefits

Sharper rendering on high-DPI displays.

Possible drawbacks

No response

Additional context

No response

Would you like to work on the issue?

This is a small change which would make a good first issue. I'm happy to leave it to a new contributor.

@SableRaf SableRaf added the enhancement New feature or request label Feb 21, 2025
@SableRaf SableRaf moved this to Backlog in Processing Roadmap Feb 21, 2025
@SableRaf SableRaf added the core label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant