Stretch with Overflow Problem

Hi all,

I have a problem with the "Stretch with Overflow"-option in text fields.
Sometimes when the text just fits on one line, the field stretches in my pdf on two lines, with an empty second line. I don't have any paddings on these fields and I use JR 1.2.5.

Thanks in advance for your help!
drupal7_anonymous's picture

1 Answer:


This is usually the result of some font mismatch problem.
Make sure that the fontName and pdfFontName point to the same font file, with the same font metrics.
The most probably cause of font problems is that you designed your report on a machine where the fontName existed and was installed properly and then you deploy the report on a server machine that does not have those fonts and some other default font with different font metrics is used at report fill time.

I hope this helps,
teodord's picture
Joined: Jun 30 2006 - 9:00am
Last seen: 4 days 12 hours ago