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!
Petra
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!
Petra
1 Answer:
Posted on August 23, 2006 at 9:48am
Hi,
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,
Teodor
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,
Teodor