Jump to content

SOLVED - Missing content in PDF output


vnug

Recommended Posts

Hi:


We have tried 2 different versions of iReport - 2.0.0 (has iText 1.3.1) and 3.7.0 (has iText 2.1.0).

This problem is weird - Here is the sample that is supposed to dispay "The retention time of major peak in the chromatogram of the Assay preparation corresponds to that in the chromatogram of standard preparation as obtained in the Assay".

When we run JRViewer, the data displays properly and when we use PDF Viewer, we are missing last few words. The above sample data comes from database (postgresql). 

I would appreciate any pointers for this bizarre problem. Thanks in advance.

 

best regards,

vnug



Post Edited by vnug at 03/26/2010 10:06
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

it might be related to the PDF font you are using. The PDF font is not necessarily the same one you would see in the JRViewer. The text might get truncated. To test I would increase the size of the text box, if then the text is shown just set an appropriate font or fix the text field size.
Link to comment
Share on other sites

Thanks, mrcaffeine.

 

That's what it was. We were using Helvetica and that used to truncate about 5 or 6 words in the end. Even changing the height did not help. Is that usual? (I thought the stretch with overflow should take care of that). Then, we tried with Times-Roman .. now the complete message is showing.

 

The moral - please check the fonts if anyone is missing data in the end of the text field for PDF output.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...