Re: [iText-questions] Allow malformed trailer/ID

2013-09-09 Thread Ivan B . Gregor
1T3XT BVBA 1t3xt.info> writes: > The ArrayIndexOutOfBoundsException problem was fixed though. > > We've also moved the transparency code in PdfImage as you suggested. Thanks! -- Ivan -- Learn the latest--Visual Stu

Re: [iText-questions] Allow malformed trailer/ID

2013-09-08 Thread 1T3XT BVBA
On 3/09/2013 12:43, Ivan B. Gregor wrote: > Knock knock. Did my patch get applied? No, because it still created files without an ID. Also part of your patch wasn't of any use for the moment (the part that loops over the second ID). The ArrayIndexOutOfBoundsException problem was fixed though. We'v

Re: [iText-questions] Allow malformed trailer/ID

2013-09-03 Thread iText mailing list
On 9/3/2013 12:43 PM, Ivan B. Gregor wrote: > Knock knock. Did my patch get applied? We're currently getting plenty of support questions from paid customers (that's what happens if you grow: http://info.itextpdf.com/fast50_2013 ). Support tickets from paid customers get priority. I've made a tick

Re: [iText-questions] Allow malformed trailer/ID

2013-09-03 Thread Ivan B . Gregor
Ivan B. Gregor gmail.com> writes: > > > Hi, > > Some PDFs contain strange values in trailer/ID, for example: > > trailer > <<>]>> > > startxref > 78443 > %%EOF Knock knock. Did my patch get applied? -- Ivan --

Re: [iText-questions] Allow malformed trailer/ID

2013-08-28 Thread Ivan B . Gregor
Leonard Rosenthol adobe.com> writes: > > On 8/28/13 2:11 AM, "Ivan B. Gregor" gmail.com> wrote: > > >As far as I remember this method was pioneerd by Adobe InDesign, the first > >full unicode Windows version, I do not remember the number. > > Nope, predates ID. First appeared (at least from

Re: [iText-questions] Allow malformed trailer/ID

2013-08-28 Thread Leonard Rosenthol
On 8/28/13 2:11 AM, "Ivan B. Gregor" wrote: >As far as I remember this method was pioneerd by Adobe InDesign, the first >full unicode Windows version, I do not remember the number. Nope, predates ID. First appeared (at least from Adobe) in a version of the PDFMakers for Office, IIRC. And that

Re: [iText-questions] Allow malformed trailer/ID

2013-08-27 Thread Ivan B . Gregor
Leonard Rosenthol adobe.com> writes: > > Another great example of poor PDF generation :(. Wasting all those bytes > for ASCII values. As far as I remember this method was pioneerd by Adobe InDesign, the first full unicode Windows version, I do not remember the number. Actually it makes a lot

Re: [iText-questions] Allow malformed trailer/ID

2013-08-27 Thread Leonard Rosenthol
Another great example of poor PDF generation :(. Wasting all those bytes for ASCII values. On 8/27/13 9:48 AM, "Ivan B. Gregor" wrote: >Leonard Rosenthol adobe.com> writes: > >> >> Can you send an actual example of a PDF like that? > >No, I cannot share because this PDF belongs to a customer

Re: [iText-questions] Allow malformed trailer/ID

2013-08-27 Thread Ivan B . Gregor
Leonard Rosenthol adobe.com> writes: > > Can you send an actual example of a PDF like that? No, I cannot share because this PDF belongs to a customer, but this part should be of interest to you: 15 0 obj << /Title(\376\377\000S\000u\000g\000a\000r\000C\000R\000M) /Author(\376\377\000S\000u\000

Re: [iText-questions] Allow malformed trailer/ID

2013-08-27 Thread Rahul Pundlik
: [iText-questions] Allow malformed trailer/ID Can you send an actual example of a PDF like that? It's clearly invalid and I'd love to know who made it! Thanks, Leonard On 8/27/13 8:16 AM, "Ivan B. Gregor" wrote: > >Hi, > >Some PDFs contain strange values in tra

Re: [iText-questions] Allow malformed trailer/ID

2013-08-27 Thread Leonard Rosenthol
Can you send an actual example of a PDF like that? It's clearly invalid and I'd love to know who made it! Thanks, Leonard On 8/27/13 8:16 AM, "Ivan B. Gregor" wrote: > >Hi, > >Some PDFs contain strange values in trailer/ID, for example: > >trailer ><<>]>> > >startxref >78443 >%%EOF > >PdfStamp

[iText-questions] Allow malformed trailer/ID

2013-08-27 Thread Ivan B . Gregor
Hi, Some PDFs contain strange values in trailer/ID, for example: trailer <<>]>> startxref 78443 %%EOF PdfStamperImpl has ArrayIndexOutOfBounds in the case above. Patch below fixes the issue: diff -ru originals/com/itextpdf/text/pdf/PdfEncryption.java itextpdf-5.4.2-sources/com/itextpdf/text/p