Re: [iText-questions] PDF header signature not found after upgrading Rails app (using rjb)

2011-02-09 Thread 1T3XT BVBA
Op 10/02/2011 6:56, Dan Sadaka schreef: Hello iText users: I have been using iText successfully with Rails 2.3.2 Ruby 1.8.6 rjb 1.1.7 I just upgraded to Rails 2.3.5 Ruby 1.8.7 rjb 1.3.4-x86-mswin32-60 Now, whenever I try a pdfreader.new(pdfFileName) I get IOException: PDF header signature n

Re: [iText-questions] Combining files & File Size

2011-02-09 Thread 1T3XT BVBA
Op 10/02/2011 2:11, Talmage schreef: > Am I missing some sort of optimization method within iText to produce > a smaller PDF? Freeing reader is one possible reason, but: why aren't you using PdfSmartCopy? You mention the book, but did you read chapter 6 of the second edition? That chapter is avail

[iText-questions] PDF header signature not found after upgrading Rails app (using rjb)

2011-02-09 Thread Dan Sadaka
Hello iText users: I have been using iText successfully with Rails 2.3.2 Ruby 1.8.6 rjb 1.1.7 I just upgraded to Rails 2.3.5 Ruby 1.8.7 rjb 1.3.4-x86-mswin32-60 Now, whenever I try a pdfreader.new(pdfFileName) I get

[iText-questions] Combining files & File Size

2011-02-09 Thread Talmage
I am combining 50+ different single page PDF files together that have been produced from various places (Excel, acrobat, word, etc). The files combine together no problem, the only issue is that the filesize is 10-11mb while if I combine the same set of files together using the acrobat tool the end

Re: [iText-questions] comparing pdf files

2011-02-09 Thread Mark Storer
Reader will, and that's all you need for this comparison. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: King Goldman [mailto:king.gold...@gmail.com] Sent: Wednesday, Fe

Re: [iText-questions] iText Text Chopping Issue with Embedded Fonts

2011-02-09 Thread Mark Storer
My first instinct is to blame the font. I selected the text in the PDF you attached and a fair portion of the loop of the 'd' is outside the selection's box... which isn't a good sign. OTOH It's hard to tell for sure but it looks like the bottom of the Y would fit into the selection's box, and th

Re: [iText-questions] comparing pdf files

2011-02-09 Thread King Goldman
I generated those files with an owner password and user password "null" and i doubt if it will let me open it. On Wed, Feb 9, 2011 at 12:29 PM, Mark Storer wrote: > Urgh. I don't think so. iText's crypto support boils down to: > > "Did you open it with the OWNER password? No? Then we won't

[iText-questions] iText Text Chopping Issue with Embedded Fonts

2011-02-09 Thread Mir Tanvir Hossain
Hello everyone, this is my first email to this list. I am trying to use iText to create pdfs with simple text using different fonts. I am having an issue with the text being chopped off when I try to align the text based on ascender and descender. I have attached the pdf in question with this email

Re: [iText-questions] comparing pdf files

2011-02-09 Thread Mark Storer
Urgh. I don't think so. iText's crypto support boils down to: "Did you open it with the OWNER password? No? Then we won't touch it!" That may only be for stamper though... lemme check. According to my interpretation of the code, as long as you're sticking to PdfReader, you're fine. It's P

Re: [iText-questions] comparing pdf files

2011-02-09 Thread King Goldman
Will this solution work if my document is encrypted but not password protected, ie if my documents are immutable and not password protected can i still load their field value pairs? Thanks for you quick reply On Wed, Feb 9, 2011 at 11:18 AM, Mark Storer wrote: > If you just want to compare form

Re: [iText-questions] comparing pdf files

2011-02-09 Thread Mark Storer
If you just want to compare form field values, that's not particularly hard. You should be able to simply load all the field name/value pairs into maps and .equals() them. Something like: public bool formsEqual(PdfReader reader1, PdfReader reader1) { AcroFields fields1 = reader1.getFields

Re: [iText-questions] Viewing table attributes

2011-02-09 Thread Leonard Rosenthol
You need to locate the Structure Tree in the PDF, parse it and analyze it as you wish. All the details are in that document... From: Lychee W [mailto:lychee...@gmail.com] Sent: Tuesday, February 08, 2011 9:47 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Viewing table a

Re: [iText-questions] Digital signature with DSA key

2011-02-09 Thread Paulo Soares
Let's not be carried away with what stays and is removed. The filters adbe.pkcs7.detached, adbe.pkcs7.sha1 and adbe.x509.rsa.sha1 should be allowed out-of-the-box but better checked. All this discussion started from a problem with a DSA signature that is not allowed in adbe.x509.rsa.sha1 and if

Re: [iText-questions] Read PDF conformance (PDF/A)

2011-02-09 Thread lvl
Thanks for your help. At this moment we make use of the Adlib software to validate documents on PDF/A-1b. They have 99% accuracy with PDF/A Isartor Test Suite & Joins PDF/A Competence Center http://www.adlibsoftware.com/pdfa-isartor-test-suite.aspx -- View this message in context: http://itex

Re: [iText-questions] [english 94%] [english 100%] Re: Antw:Re: how to check the certifying signaturein a pdf

2011-02-09 Thread Lida van Losser-Jonker
Ok. This works. Thanks a lot. Van: 1T3XT BVBA [mailto:i...@1t3xt.info] Verzonden: donderdag 3 februari 2011 16:01 Aan: itext-questions@lists.sourceforge.net Onderwerp: [english 94%] [english 100%] Re: [iText-questions] Antw:Re: how to check the certifying signaturein a pdf Op 3/02/2011 1