0
votes

Why when i check on report the stretch with overflow property the textfield adds an extra space?

i have this configuration on it:

the textfield has a height = 12 px
the width is the same of the page (572 px)
the font size = 10 px

In his image each line is a field, and doesn't contains line breaks except line 4,jasper adds one spaces after line 1 and 3 and additional for line 4. Here is the problem:

enter image description here

I compile my reports on windows and doesn't happen when i generate the report on windows, but this occurs on linux

1
You should add the sample to reproduce and the screenshotAlex K
One guess: Your data contains a line break.mkl
hi ,thanks. the data doesn't contains line break. Its curious, maybe the string's lenght is related. this image is ok: imageshack.com/i/eym5Ddfjj but this shows the problem: imageshack.com/i/f03FCqNBprockybalboa

1 Answers

0
votes

the solution which worked for me.

  1. Create a new jasperfonts jar from ireport,
  2. Add a spring.jar file and
  3. Set the fonts to Arial
  4. Make sure it runs ok in AIX.