________________________________
> Date: Thu, 27 May 2010 09:16:38 -0400
> From: [email protected]
> To: [email protected]
> Subject: Re: [iText-questions] Blank PDF after it is transfered through SMTP
>
> Michael,
>
>
>
> I attached a pdf (generated by non-iText software) which was received through
> email after SMTP transfer using "quoted-printable".
I still don't get why you insist on using this approach given what the IETF
says about it
or what this has to do with itext.
The general intent is to encode human readable information (ASCII) such that
it is not modified in a way likely to matter to an intelligent human.The
encoding
format is designed to make the encoded file human readable, presumably
reflecting
human readable target data.
Are you just suggesting that itext should support dos and linux line endings?
Is a viewer expressing a preference for one or the other?
Do you have a pdf file recieved after going through a profanity and patriotism
scanner too?
I'm genuinely curious now, inquring minds want to know.
>
>
>
> 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.
Acurate and relevant information can't bother anyone - do you want us to guess?
LOL.
>
>
>
> Regards,
>
>
>
> Jiangang Song
>
>
> On Wed, May 26, 2010 at 11:53 PM, Jiangang Song 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
>
>
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
------------------------------------------------------------------------------
_______________________________________________
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/