Skip to content

fix: Draw terminal characters individually to prevent clipping with f…#2614

Closed
astrograph wants to merge 1 commit intoeclipse-platform:masterfrom
astrograph:fix/terminal-dpi-clipping
Closed

fix: Draw terminal characters individually to prevent clipping with f…#2614
astrograph wants to merge 1 commit intoeclipse-platform:masterfrom
astrograph:fix/terminal-dpi-clipping

Conversation

@astrograph
Copy link
Copy Markdown
Contributor

…ractional DPI scaling

On Windows with fractional DPI scaling (125%, 150%), SWT/GDI accumulates sub-pixel rounding when drawing a whole string, causing glyphs to overflow their grid cells. Draw each character at its exact cell position instead.

…ractional DPI scaling

On Windows with fractional DPI scaling (125%, 150%), SWT/GDI accumulates sub-pixel rounding when drawing a whole string, causing glyphs to overflow their grid cells. Draw
each character at its exact cell position instead.
@astrograph astrograph force-pushed the fix/terminal-dpi-clipping branch from 71dce6f to 866daba Compare April 7, 2026 09:05
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 7, 2026

Test Results

    54 files  ±0      54 suites  ±0   37m 19s ⏱️ + 1m 39s
 4 556 tests ±0   4 533 ✅ ±0   23 💤 ±0  0 ❌ ±0 
12 264 runs  ±0  12 105 ✅ ±0  159 💤 ±0  0 ❌ ±0 

Results for commit 866daba. ± Comparison against base commit a43ab52.

@tomaswolf
Copy link
Copy Markdown
Member

Is this related to #2617? Does drawing characters individually have any (negative?) effect on performance?

@HeikoKlare
Copy link
Copy Markdown
Contributor

Please add a proper description of the issue and how to reproduce it. To me this looks like a solution to an already solved issue, see: #2617 (comment).

@HeikoKlare
Copy link
Copy Markdown
Contributor

@astrograph can you please add information on reproduction or the issue and check if the issue is already resolved in the latest development state?

@astrograph astrograph marked this pull request as draft April 24, 2026 10:52
@astrograph
Copy link
Copy Markdown
Contributor Author

thank you for the feedback, I will reassess after we consumed the current release!

@astrograph astrograph closed this Apr 24, 2026
@merks
Copy link
Copy Markdown
Contributor

merks commented Apr 24, 2026

thank you for the feedback, I will reassess after we consumed the current release!

Testing before a release is a much better idea than testing after a release.

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.

4 participants