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

#1596: [Win32] Drawing produces unsymmetric results without swt.autoScale=false for 4k monitor with zooming #1607

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 26, 2024

  1. DPIUtil: introduce swt.autoScale=halfUp

    Thomas Singer committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    3d2c4d1 View commit details
    Browse the repository at this point in the history
  2. eclipse-platform#1596: [Win32] Drawing produces unsymmetric results w…

    …ithout swt.autoScale=false for 4k monitor with zooming
    
    When drawing a vertical line at x == 1 with 200% zoom level (HiDPI),
    MacOS draws it on the physical pixel coordinates 2 and 3 while on
    Windows (with the existing code) it was drawn at 1 and 2.
    
    In other words: the existing code drew lines 1 pixel too far left/top.
    This commit should resolve this.
    Thomas Singer committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    bd0b255 View commit details
    Browse the repository at this point in the history