Project: SWT
Bug 120654 Cheese in StyledText on Linux
Reported: 2005-12-13 13:19:39 | Status: resolved fixed

I20051213-0010, GTK+ 2.2.4, pango 1.2.5. See attached screenshot. When clicking around in the Java editor, the lines "shimmer" and often jump up and down. The root cause seems to be the use of TextLayout.getLineHeight(int) to handle dynamic line heights. Special casing fixedLineHeight mode in StyledTextRenderer.drawLine() seems to work around the problem.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/TextLayout.java