Re: [iText-questions] Add Watermark to existing PDF

2010-04-06 Thread 1T3XT info
Jérôme AIRAUDO wrote: > Hi every body, > > I wish you ‘ll excuse me, but English is not my native language. Your English is excellent! > What I wanted to do is : > - Open an existing PDF Use PdfReader. > - Add a watermark to this PDF using another exiting PDF and not an > Image (b

Re: [iText-questions] How to verify PDF digital signature with a LDAP server?

2010-04-06 Thread 1T3XT info
Eric Chow wrote: > Hello, > > In Acrobat Reader, when we define the "Directory Server", it can check > the automatic verify the digital signature when opening the PDF. (must > installed the root ca cert). > > > How can I do this in iText? > > Would you please to give me a simple example? See

Re: [iText-questions] iText in Action: no Java Graphics2D chapter in the 2nd edition?

2010-04-06 Thread Bruno Lowagie
Fred Janon wrote: > I am using the MEAP 2nd edition at the moment and was surprised that > the chapter Java Graphics2D and jFreeChart was not in the 2nd edition > anymore? Would it be possible to add it, even as an appendix? I think > it would be good to show readers how to integrate charts with iT

[iText-questions] iText in Action: no Java Graphics2D chapter in the 2nd edition?

2010-04-06 Thread Fred Janon
I am using the MEAP 2nd edition at the moment and was surprised that the chapter Java Graphics2D and jFreeChart was not in the 2nd edition anymore? Would it be possible to add it, even as an appendix? I think it would be good to show readers how to integrate charts with iText. No report comes out w

Re: [iText-questions] OCSP digest

2010-04-06 Thread Whatever
Andreas, thank you for your thoughts. I need to include revocation information before signing on smartcard. Haven't figured out how to achieve this. PDF reference says "... it must be obtained before the computation of the digital signature". How to embed OCSP response before creating signature ? T

[iText-questions] How to verify PDF digital signature with a LDAP server?

2010-04-06 Thread Eric Chow
Hello, In Acrobat Reader, when we define the "Directory Server", it can check the automatic verify the digital signature when opening the PDF. (must installed the root ca cert). How can I do this in iText? Would you please to give me a simple example? ---

Re: [iText-questions] how to choose unicode support Font from java.awt.Font to com.itextpdf.text.pdf.BaseFont

2010-04-06 Thread Leonard Rosenthol
My guess is that the printer driver for the thermal printer is old and doesn't support modern stuff, so that Acrobat has to use fallback solutions for getting that data to the printer. Are you sure you are current on the drivers? And you are printing from a current version of Reader, correct?

Re: [iText-questions] how to choose unicode support Font from java.awt.Font to com.itextpdf.text.pdf.BaseFont

2010-04-06 Thread dorairaj
1T3XT info wrote: >Both files show up correctly, but if I had to choose, I'd prefer the >iText version, as it's safer to have all the glyphs embedded in the >document, and as Identity-H is more and more recommended. Thanks for you Information. Then why text printing quality is poor when i p

[iText-questions] Add Watermark to existing PDF

2010-04-06 Thread Jérôme AIRAUDO
Hi every body, I wish you ‘ll excuse me, but English is not my native language. What I wanted to do is : - Open an existing PDF - Add a watermark to this PDF using another exiting PDF and not an Image (because of lost of quality between pdf and png, for example). - Save th

Re: [iText-questions] SetPageContent garbles Unicode Characters

2010-04-06 Thread 1T3XT info
Tim Heffernan wrote: > Hoping for some guidance on a perplexing issue. Thanks in advance. You're doing something that is (almost) forbidden. See chapter 18 of the first edition of "iText in Action". > Our .NET C# application currently uses iTextSharp to perform the > following on a .pdf documen

Re: [iText-questions] OCSP digest

2010-04-06 Thread Andreas Kuehne
Hi, your assumption seems to hold true : No one seems to be able to aswer the question, but I'll try to help you a bit further : The first thing to mention is that PDF expects the the OCSP response to be available at signing time. So you do the OCSP call _before_ the hashing. And then there is

[iText-questions] SetPageContent garbles Unicode Characters

2010-04-06 Thread Tim Heffernan
Hoping for some guidance on a perplexing issue. Thanks in advance. Our .NET C# application currently uses iTextSharp to perform the following on a .pdf document... * Iterate the pages of a .pdf * Use pdfReader.GetPageContent() to write the contents of the page to a string va

Re: [iText-questions] how do we read PdfStructureTreeRoot back from Tagged PDF

2010-04-06 Thread Chenping Ni
After reading about half of the pdf reference, I got it. Thank you very much! Chenping -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: Wednesday, March 31, 2010 1:25 AM To: Post all your questions about iText here Subject: Re: [iText-questions] how do we read PdfStruc

Re: [iText-questions] Fill PDF forms

2010-04-06 Thread 1T3XT info
Lewis Ellis wrote: > I need to be able to fill in field(s) in and Adobe PDF form using Visual > Basic 6. Will iTextPDf do this. iTextSharp can be used to fill out AcroForm fields. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] corrupt PDF generated

2010-04-06 Thread KSXD 32
Hello, I just wanted to acknowledge that I have found the root of this issue and fixed it. However, I would not be able to tell for sure if this effect is intended. The actual dimensions for a TextField within a PdfPTable would be dictated by two methods 1) the PdfPTable column widths 2) the d

Re: [iText-questions] Existing Image overlap text

2010-04-06 Thread 1T3XT info
Duncan_McCloud wrote: > Hello everyone, > I am actually trying to add text on every page of an existing pdf file. > I have no problem in doing except with a particular pdf file. > Some of the pages of this pdf file seems to be a full A4 Size image. > The result is that on those pages the Text is no

Re: [iText-questions] OCSP digest

2010-04-06 Thread Whatever
Is there really nobody who is able to answer the question ? My ultimate goal is to include OCSP response. I am using external digest from smartcard. I have OCSP responder certificate that is issued by the same CA that issued signing certificate. I can't include basic OCSP response in the signed da

Re: [iText-questions] pdf/a validation and national characters

2010-04-06 Thread Paulo Soares
Use encoding BaseFont.IDENTITY_H. Paulo From: przemek_ [pbana...@alan-systems.com] Sent: Tuesday, April 06, 2010 9:24 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] pdf/a validation and national characters Hi all, I need to crea

[iText-questions] pdf/a validation and national characters

2010-04-06 Thread przemek_
Hi all, I need to create file in pdf/a-1b standard, that will contain language-specific characters. I tried: string encoding = GetEncodingForLanguage("pl"); BaseFont font = BaseFont.CreateFont("arial.ttf", encoding, BaseFont.EMBEDDED); but pdf/a validators returns error: "The value of the key