[#9076] - Fixed linespacing size does not work as needed

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

If I have a text field with a multi lined text inside.

<staticText>
<reportElement x="0" y="0" width="198" height="252"/>
<textElement textAlignment="Left" verticalAlignment="Top" markup="none">
<font fontName="GostAproe" size="12"/>
<paragraph lineSpacing="Fixed" lineSpacingSize="14.0"/>
</textElement>
<text><![CDATA[line 1
line 2
line 3
...
]]></text>
</staticText>

It renders a text line like 14.0 + maxDescent

See attached screenshot

An error is in AbstractTextRenderer.class. maxDescent value adds in any way not relative to the selected LineSpacing.

AttachmentSize
Image icon 10-01-2017_23-48-26.png36.88 KB
v6.3
ivoskresenskiy's picture
Joined: Jan 10 2017 - 12:39pm
Last seen: 2 years 7 months ago
Feedback
randomness