Skip to content

Commit 9ec63b9

Browse files
committed
Avoid cut-off symbols in Terminal
On monitors with zoom != 100% on Windows, symbols in the Terminal appear cut-off. This can be avoided by enabled advanced mode for the GC used for rendering the text.
1 parent c3d16c9 commit 9ec63b9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • terminal/bundles/org.eclipse.terminal.control/src/org/eclipse/terminal/internal/textcanvas

terminal/bundles/org.eclipse.terminal.control/src/org/eclipse/terminal/internal/textcanvas/GridCanvas.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public GridCanvas(Composite parent, int style) {
4545
*/
4646
@Override
4747
protected void paint(GC gc) {
48+
gc.setAdvanced(true);
4849
Rectangle clipping = gc.getClipping();
4950
if (clipping.width == 0 || clipping.height == 0) {
5051
return;

0 commit comments

Comments
 (0)