[iText-questions] How to subset fonts into an existing PDF file

2012-09-05 Thread WMJ
I've gotten an existing PDF file which contains fonts that is not subsetted. If the fonts are not installed in the system, the document can't be displayed correctly. I definitely know what fonts are suitable for those document. How can I subset those fonts into the PDF file?

Re: [iText-questions] Annotation Appearance Stream Created in iText Not Set properly?

2012-09-05 Thread Suneet Shah
Is the problem in my setup? Here's how I'm setting up the creation of an xobject: //Set the color highlight.Color = BaseColor.YELLOW; //PdfContentByte canvas = stamper.Writer.DirectContent; PdfContentByte canvas = stamper.GetUnderContent

Re: [iText-questions] Annotation Appearance Stream Created in iText Not Set properly?

2012-09-05 Thread Suneet Shah
Sorry-- can you expand on that? I was hoping that the green'ish xobject would be used as the appearance stream for the annotation, but the result I'm getting is as you described (two objects) instead of one. How should I be setting the appearance of the annotation to be that content stream? On We

Re: [iText-questions] Annotation Appearance Stream Created in iText Not Set properly?

2012-09-05 Thread Suneet Shah
The only difference I'm able to see through RUPS is that the Adobe generated PDF files seem to contain a wrapper XObject. So the appearance stream xobject will say something like: /R0 gs /MWFOForm Do And then the xobject named "/MWFOForm" will contain the actual drawing instructions for the ann

Re: [iText-questions] Annotation Appearance Stream Created in iText Not Set properly?

2012-09-05 Thread Leonard Rosenthol
You have two content streams in the PDF - one that renders an XObject that is a green(ish) rect and then the actual page content. Perhaps you don't want that first one?!?! From: Suneet Shah [mailto:sune...@gmail.com] Sent: Wednesday, September 05, 2012 8:49 PM To: itext-questions@lists.sourcefo

[iText-questions] AUTO: Rajib SAHA is out office . Will be back on 19-Sep-2012. (returning 09/19/2012)

2012-09-05 Thread rajibsaha
I am out of the office until 09/19/2012. I am on leave from 06-Sep-2012 to 18-Sep-2012. For queries related to Holiday Tracker Application , contact only Lohith SS (719180 43803) . Please write to "#Research RAD" for any issues/queries related to ESO , Addins, and Templates . For urgent assist

[iText-questions] Annotation Appearance Stream Created in iText Not Set properly?

2012-09-05 Thread Suneet Shah
Hey there, I'm using iText to create highlight annotations, and I'm defining the appearance stream manually for the highlights. I've found that when opening such a document in Adobe Reader, the highlight displays as expected-- but if you select the highlight and delete it, the "appearance" of the

[iText-questions] [SPAM] Re: [SPAM] Re: Verify digital signature pdf example

2012-09-05 Thread mkl
Danilo, Danilo Nicolò wrote > I need of CN, DN, Name and Surname of signatory Those are easily available. Danilo Nicolò wrote > and I get this error : > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/bouncycastle/asn1/ASN1TaggedObject > > [...] > > But I don't need of Boun

Re: [iText-questions] [SPAM] Re: Verify digital signature pdf example

2012-09-05 Thread Danilo Nicolò
Hi Michael, I need of CN, DN, Name and Surname of signatory, detail of certificate. I'm trying an example of verify signature : public static void Verify(PdfReader reader) throws Exception{ KeyStore kall = PdfPKCS7.loadCacertsKeyStore(); AcroFields af = reader.getAcroFields();

Re: [iText-questions] [SPAM] Re: PDF Validation error with PDF/A1b complaince

2012-09-05 Thread Leonard Rosenthol
Have you actually read the PDF/A-1 (ISO 19005-1) standard? Have you read the PDF 1.4 specification, which PDF/A-1 is based on? It seems like you are trying to do this entirely via guesswork rather than reading the relevant documentation and understanding them... Leonard From: Manulak Dissanayak

[iText-questions] [SPAM] Re: Verify digital signature pdf example

2012-09-05 Thread mkl
Danilo, Danilo Nicolò wrote > Ok, so I should wait for the next release of white paper to know how to > verify the digital signature of the PDF Document and extract all the > signatory's information. Right? As the iText signature API has been redesigned just lately, this might actually still be a

Re: [iText-questions] [SPAM] Re: [SPAM] Re: Verify digital signature pdf example

2012-09-05 Thread Danilo Nicolò
Hi, Ok. Thanks for reply. I'm studying the API while I will wait the next release of white paper. Regards Il 05/09/2012 11.47, iText Info ha scritto: > Op 5/09/2012 11:40, Danilo Nicolò schreef: >> Hi Bruno, >> >> Thanks for reply. Ok, so I should wait for the next release of white >> paper to

Re: [iText-questions] [SPAM] Re: [SPAM] Re: Verify digital signature pdf example

2012-09-05 Thread iText Info
Op 5/09/2012 11:40, Danilo Nicolò schreef: > Hi Bruno, > > Thanks for reply. Ok, so I should wait for the next release of white > paper to know how to verify the digital signature of the PDF Document > and extract all the signatory's information. Right? That's the option if you need help. The other

Re: [iText-questions] [SPAM] Re: [SPAM] Re: Verify digital signature pdf example

2012-09-05 Thread Danilo Nicolò
Hi Bruno, Thanks for reply. Ok, so I should wait for the next release of white paper to know how to verify the digital signature of the PDF Document and extract all the signatory's information. Right? Regards Danilo Il 05/09/2012 11.27, Bruno Lowagie ha scritto: > Op 5/09/2012 11:20, Danilo N

Re: [iText-questions] [SPAM] Re: [SPAM] Re: Verify digital signature pdf example

2012-09-05 Thread Bruno Lowagie
Op 5/09/2012 11:20, Danilo Nicolò schreef: > I saw the examples. Can you get me iText Library's link, version 5.0.7 ? Either you try to find that old version and lose plenty of time in the future; or you wait for the last part of the white paper to be written in which case you lose only a couple

Re: [iText-questions] [SPAM] Re: [SPAM] Re: Verify digital signature pdf example

2012-09-05 Thread Danilo Nicolò
Hi Michael, I saw the examples. Can you get me iText Library's link, version 5.0.7 ? I saw that the version used in examples is 5.0.7 but I can't find this version. Regards Il 05/09/2012 10.30, mkl ha scritto: > Danilo, > > Danilo Nicolò wrote >> I saw these example in http://itextpdf.sourcefo

[iText-questions] [SPAM] Re: [SPAM] Re: Verify digital signature pdf example

2012-09-05 Thread mkl
Danilo, Danilo Nicolò wrote > I saw these example in http://itextpdf.sourceforge.net/howtosign.html and > I found these error : > > The method loadCacertsKeyStore() is undefined for the type PdfPKCS7 > > The method getSubjectFields(X509Certificate) is undefined for the type > PdfPKCS7 > > The m

Re: [iText-questions] [SPAM] Re: Verify digital signature pdf example

2012-09-05 Thread Danilo Nicolò
Hi Michael, I saw these example in http://itextpdf.sourceforge.net/howtosign.html and I found these error : KeyStore kall = PdfPKCS7.loadCacertsKeyStore(); // The method loadCacertsKeyStore() is undefined for the type PdfPKCS7 System.out.println("Subject: " + PdfPKCS7.getSubjectFields(pk.get

[iText-questions] [SPAM] Re: Verify digital signature pdf example

2012-09-05 Thread mkl
Danilo, Danilo Nicolò wrote > i'm writing a project that verify the digital signature of pdf (PadES > format) with iText & BouncyCastle. Particularly I need to get signatory's > information details. Anyone can help me? Anyone has an example? In general iText in Action, 2nd edition, is the source

[iText-questions] Verify digital signature pdf example

2012-09-05 Thread Danilo Nicolò
Hi all, i'm writing a project that verify the digital signature of pdf (PadES format) with iText & BouncyCastle. Particularly I need to get signatory's information details. Anyone can help me? Anyone has an example? Best regards Danilo Nicolò ---