Bug 576925

Summary: [code mining] Line Header Annotation introduces extra space when resolution scaling is not 100%
Product: [Eclipse Project] Platform Reporter: Dorian Blaj <dorian.blaj>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.19   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Dorian Blaj CLA 2021-10-28 03:53:13 EDT
We are using Line Header Annotations in one of our project and noticed that for non-default resolution scaling, there is an extra space added after the line immediately after the annotation.

The annotation text does not contain any special characters, no tabs, nelines etc.

This happens with 1.25x, 1.5x, 1.75x, 2x resolution scaling (so far this is what we checked).
E.g.:

1 line 1
  annotation text
2 line 2
  -> extra space
3 line 3
4 line 4

I am not able to attach a screenshot (work-related constraints), but can provide a n example if necessary.