-
Notifications
You must be signed in to change notification settings - Fork 155
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
At higher scaling, font gets unusually bigger and alignment also got distorted #1819
Comments
At least the font size is expected behavior when running SWT with default settings (i.e., |
I'm not sure. Didn't have a look at the snippet yet, but shouldn't be there font still everywhere the same size? I will have a short look later to get in impression about it. |
Taking a look at the screenshots, the font size is only changed in line "4. Painted image (multi-res, zoomed paint)". And this "zoomed paint" explicitly changes the font size: eclipse.platform.swt/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet367.java Lines 214 to 218 in df1c412
The scale factor used here will be 1 for 100%-150% and 2 for 175% and above. That's why I would expect this behavior. But maybe I miss something. |
Any further concerns or opinions on this, @deepika-u @akoch-yatta? My opinion is still that this shows exactly the expected behavior, so I would be in favor of closing the issue. |
Describe the bug
I see 2 minor problems.
reference screenshots are attached indetail in the doc =>
Hi-DPI_changes.docx
To Reproduce
Run the Snippet367 at 175% or 200% resolution, you see the 2 problems reported.
Expected behavior
Behavior should be same as 100% or 125% or 150%.
Screenshots
Attached in the doc.
Environment:
Version since
Tried on this version
Eclipse SDK
Version: 2025-03 (4.35)
Build id: I20250209-1800
OS: Windows 11, v.10.0, x86_64 / win32
Java vendor: Eclipse Adoptium
Java runtime version: 22.0.2+9
Java version: 22.0.2
Workaround (or) Additional context
Not aware of.
The text was updated successfully, but these errors were encountered: