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

[win32] possible wrong zoom set for system font #1566

Conversation

akoch-yatta
Copy link
Contributor

This PR adapts the initialization of a new base system font in the ScalingSWTFontRegistry to ensure the correct zoom is set at initialization.

I am not aware of any real issue caused by a wrong zoom value, but not using the targetZoom here is a possible source of errors.

Copy link
Contributor

github-actions bot commented Oct 31, 2024

Test Results

   483 files  ±0     483 suites  ±0   8m 17s ⏱️ - 1m 3s
 4 095 tests ±0   4 085 ✅ ±0   7 💤 ±0  3 ❌ ±0 
16 173 runs  ±0  16 080 ✅ ±0  90 💤 ±0  3 ❌ ±0 

For more details on these failures, see this check.

Results for commit 7bf9b0a. ± Comparison against base commit 99f374d.

♻️ This comment has been updated with latest results.

@akoch-yatta akoch-yatta force-pushed the scaling-system-font-initialization branch from 6f0d60a to 35dd671 Compare October 31, 2024 11:49
@HeikoKlare HeikoKlare force-pushed the scaling-system-font-initialization branch from 35dd671 to 9141dc8 Compare October 31, 2024 17:22
Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change is sound. In addition, since the affected font registry is only used when the experimental rescale-at-runtime feature is activated, there is no risk in this change.

This commit adapts the initialization of a new base system font in the ScalingSWTFontRegistry to ensure the correct zoom is set at initialization.

contributes to eclipse-platform#62 and eclipse-platform#127
@HeikoKlare HeikoKlare force-pushed the scaling-system-font-initialization branch from 9141dc8 to 7bf9b0a Compare November 1, 2024 17:10
@HeikoKlare
Copy link
Contributor

Failing tests are unrelated and documented: #1564

@HeikoKlare HeikoKlare merged commit ce2795a into eclipse-platform:master Nov 1, 2024
12 of 14 checks passed
@HeikoKlare HeikoKlare deleted the scaling-system-font-initialization branch November 1, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants