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.