Skip to content

Regression: StyledText reintroduces artifact line while rendering #339

@amartya4256

Description

@amartya4256

Description
StyledText reintroduces the artifact lines in the editor at 175% after merging Rectangle.OfFloat.
The DPIUtil's scaleUp and scaleBounds method were unified for precision scaling and hence the previous implementation for the scaling is not valid anymore for styledText and the consumer must be adapted.

Image

Reproduction
Steps to reproduce the behavior:

  1. Switch to 175% monitor zoom.
  2. Open an empty java class file.
  3. The artifact lines are visible.

Expected Behavior
No artifact ines should be visible on the editor.

Note: The behaviour is introduced by eclipse-platform/eclipse.platform.swt#2269

Metadata

Metadata

Assignees

No one assigned

    Labels

    HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWTregression

    Type

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions