Commit 71dce6f
committed
fix: Draw terminal characters individually to prevent clipping with fractional 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.1 parent a43ab52 commit 71dce6f
1 file changed
Lines changed: 13 additions & 2 deletions
File tree
- terminal/bundles/org.eclipse.terminal.control/src/org/eclipse/terminal/internal/textcanvas
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
174 | 185 | | |
175 | 186 | | |
176 | 187 | | |
| |||
0 commit comments