[#14521] - Trailing Blanks are removed

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

When a text field is right aligned the spaces at the end are ignored/cut off.

I've added a simple example, where this problem can be reproduced.

In our footer we have two text fields to show the number of pages.
The first text field has the text "Page 1 of " and is right aligned.
The second text field has the total number of pages (in the example "3").

So the output should be "Page 1 of 3".
But it's shown as "Page 1 of3".
So all the trailing spaces are ignored/cut off.
This problem didn't occur in older Jasper Versions (e.g. 6.6.0)

In our reald world case our text is "Page 1 of 3".
I've just added the additional spaces to make it clearer.

AttachmentSize
Binary Data test2.jrxml2.32 KB
volker.link_1's picture
Joined: Jun 13 2022 - 3:54am
Last seen: 1 month 2 weeks ago
Feedback
randomness