-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
eclipse-platform/eclipse.platform.swt
#2076Labels
Milestone
Description
Due to SWT auto-scaling, we still have artifacts due to rounding errors in StyledText, as areas are not rendered consistently.
In my opinion, it is wrong to use auto-scaling for custom-rendering a canvas like in StyledText, as TextLayout is only based on fonts and their sizes and needs to calculate around the SWT auto-scaling functionality. So maybe we should try to apply a static zoom concept like for GEF also for StyledText (see #220).
See also #196 (comment):
Even with eclipse-platform/eclipse.platform.swt#1762, we still have artifacts in StyledText, e.g.
We also still have some offset between the lines as you can see when selecting text:
All screenshots taken at 175% primary zoom.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done

