Option 1: Regarding the way EOLs are handled in the different OSs.  If the 
Linux version is trying to be like Windows (\r\n), then a Java app could 
interpret that as two EOLs instead of one, leading to the extra line.  The line 
feeds don't make it into the actual PDF (iText strips them out of the actual 
characters that are written to the page through Paragraph and so forth), so 
looking at the PDFs isn't all that helpful.

Option 1.5: The actual input data is different only in the EOLs, resulting in 
different output.  Some intermediate stage (between source & iText) might be 
"correcting" the EOLs.

Option 2: Font access... if one version has accurate font information and the 
other doesn't, you could easily end up with different line breaks... But that's 
not it because they're both using the built-in Helvetica.

I suggest generating binary dumps of your row data and checking the EOL 
character[s].

--Mark Storer 
  Senior Software Engineer 
  Cardiff.com

#include <disclaimer> 
typedef std::Disclaimer<Cardiff> DisCard; 



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Orlando Amador
> Sent: Monday, October 30, 2006 4:16 PM
> To: [email protected]
> Subject: [iText-questions] Difference in PDF generated in Windows and
> Linux
> 
> 
> Using iText with jasper reports to export reports to PDF.  The same 
> war file Deployed on Windows and Linux.  The version created 
> on Windows 
> displays fine with all records in one page.  The version generated on 
> Linux will add extra space and the document is 2 pages long.
> 
> Anyway to analyze the PDF and see why the extra space after 
> the report 
> detail lines?
> 
> Attached is the URL to both version of the document:
> 
> http://www.amador.org/tmp/AvReportWindows.pdf
> 
> http://www.amador.org/tmp/AvReportLinux.pdf
> 
> Saludos,
> Orlando
> 
> 
> 
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to