[#14516] - textAdjust="StretchHeight", characters below baseline are cut off

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

We have a textfield with a height of 12px with textAdjust set to "StretchHeight".
The text inside is much longer, so the height gets adjusted (increased to three rows).
If there are more than two lines, character parts below the text base lines get cut off in the last row.
For examples if there are "g" characters in the last row, the lower part of the "g" character is cut off.
But only if there are more than two lines and only in the last line.

I could reproduce the error with a blank jaspersoft studio with version 6.18.1 and 6.20

I've attached a very simple example where this can be reproduced.
I've also added a screenshot of the problem.

AttachmentSize
Package icon jasper_testcase.zip6.94 KB
v6.18
JasperReports
volker.link_1's picture
Joined: Jun 13 2022 - 3:54am
Last seen: 5 months 1 week ago

2 Comments:

#1

I've just seen that this issue has also been reported with #12786 two year's ago.
But unfortunately this issue is still open.

#2
  • Resolution:Open» Duplicate
  • Status:New» Closed

Hi, I'm closing the following bug as "Duplicate" and moving it to the correct project JasperReports Library.
I will add a comment in the old #12786 that you mentioned with a reference back to this.

Regards,
Massimo.

Feedback