Skip to content

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

Open
@SableRaf

Description

@SableRaf

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions