Michael, I attached a pdf (generated by non-iText software) which was received through email after SMTP transfer using "quoted-printable".
I opened it using Textpad by binary mode. It constistently uses 0A as eol and contains no 0D. I understand that PDF 1.4 spec does not require such a consistency for eol. However, it could be the reason that Java mail transfer encoder messed up. I will dig more. I realized that I mentioned a commercial pdf software name. It is not intentional. I sincerely appologize if it bothers anyone. Regards, Jiangang Song On Wed, May 26, 2010 at 11:53 PM, Jiangang Song <[email protected]> wrote: > Michael, > > Your points are well-taken. > > Michael wrote: > >This means that your quoted-printable encoder does not do a thorough job, > >either because it is buggy or because you have not told it that the data > to > >encode is not text where a single carriage return, a single line feed, and > a > >carriage return line feed combination all mean the same. > > This is what I am suspecting as well. Strangely another pdf file (generated > by JClass from Quest Software) does not have "inflated bytes" issue, > although it went through exactly the same Java mail code I posted. I will > dig further on it. > > Regards, > > Jiangang Song > >
LogonReport_g9pl7led.pdf
Description: Adobe PDF document
------------------------------------------------------------------------------
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
