Re: [iText-questions] Fonts supported by iText

2010-06-15 Thread Robert Franzese
Well, we're creating a PDF that will be sent through a web service to a third party, and they (for some reason) have a limited number of fonts that they're willing to use. I believe Arial is the most common one. -- Message: 3 Date: Tue, 15 Jun 2010 14:39:02 +0200 Fr

[iText-questions] How do I concatenate Document objects using ITEXT

2010-06-15 Thread dlima
dlima has sent you a Secure E-Mail Message. The e-mail you have received may include confidential information. Please click on the link below to read your secure e-mail message. If you have trouble accessing your secure e-mail, see the instructions at the bottom of this message. https://se

[iText-questions] PDF Form Javascript "f.hidden" in Itext

2010-06-15 Thread sagolf
Hi, I am new to Javascript and only know enough about creating PDF documents to be dangerous. I have a field that I want to be hidden unless the value in another field equals a particular value. I found the javascript funciton that performs this action very well if I was actually completing t

Re: [iText-questions] NPE while Extracting text

2010-06-15 Thread Mark Storer
http://itext.svn.sourceforge.net/viewvc/itext/trunk/src/core/com/itextpd f/text/pdf/DocumentFont.java?revision=4515&view=markup > java.lang.NullPointerException > at com.itextpdf.text.pdf.DocumentFont.(DocumentFont.java:114) 108 DocumentFont(PRIndirectReference refFont) { 109 encod

[iText-questions] NPE while Extracting text

2010-06-15 Thread Ben Short
Hi, I'm trying to use iText 5.0.2 to extract the text from a pdf file using the following code... PdfReader reader = new PdfReader("C:/development/May.pdf"); PdfReaderContentParser parser = new PdfReaderContentParser(reader); PrintWriter out = new PrintWriter(Syste

Re: [iText-questions] Spam: What fonts are supported by iText?

2010-06-15 Thread Mark Storer
iText (as Bruno listed) supports a wide variety of font formats. If you're having trouble using a particular font file, chances are you're not using it properly: FontFactory.registerDirectories() is pretty comprehensive, and more than a little slow, pretty much linear with the total size of the f

Re: [iText-questions] Export to text match Acrobat's

2010-06-15 Thread 1T3XT info
Art Kirshner wrote: > Adobe suggests tagging items that as Artifacts if you want to filter > them out in a text conversion. Doing a "save as text" in Acrobat works > like this. Is there a way in iText to filter out "Artifacts". I can't > do it by region as suggested in the book because they a

[iText-questions] Export to text match Acrobat's

2010-06-15 Thread Art Kirshner
Adobe suggests tagging items that as Artifacts if you want to filter them out in a text conversion. Doing a "save as text" in Acrobat works like this. Is there a way in iText to filter out "Artifacts". I can't do it by region as suggested in the book because they are positionally consistent i

Re: [iText-questions] Total Page Number Always shows as actual total page number + 1

2010-06-15 Thread 1T3XT info
Michelle Zhang wrote: > I'm using total = writer.DirectContent.CreateTemplate(10, 15); > in the OnOpenDocument. > When I call it in the onEndPage to show the total page number, > if the actual total page number is 5, it shows as 6. > if the actual total page number is 10, it shows as 11. > etc. > A

[iText-questions] Total Page Number Always shows as actual total page number + 1

2010-06-15 Thread Michelle Zhang
I'm using total = writer.DirectContent.CreateTemplate(10, 15); in the OnOpenDocument. When I call it in the onEndPage to show the total page number, if the actual total page number is 5, it shows as 6. if the actual total page number is 10, it shows as 11. etc. Anyone knows why is that? -- -

Re: [iText-questions] Finding colorspaces used in a pdf

2010-06-15 Thread Leonard Rosenthol
You want the new content parser in iText 5. Also, don't forget that you'll need special handling for images, patterns, smooth shadings, Form XObjects and Type 3 fonts. Leonard From: Dala Himself [mailto:dalahims...@hotmail.com] Sent: Tuesday, June 15, 2010 2:10 PM To: itext-questions@lists.sour

Re: [iText-questions] What fonts are supported by iText?

2010-06-15 Thread 1T3XT info
Robert Franzese wrote: > Hello, > > I'm wondering if there's a place I can go to so I can find a list of fonts > supported by iText. There are three different ways to answer this question. These three different ways corresponds with three different tables in chapter 11 of the 2nd edition of "iTe

[iText-questions] What fonts are supported by iText?

2010-06-15 Thread Robert Franzese
Hello, I'm wondering if there's a place I can go to so I can find a list of fonts supported by iText. As a follow-up question, is there a way to be able to use additional fonts? Thanks, Bob -- ThinkGeek and WIRED's Ge

[iText-questions] Finding colorspaces used in a pdf

2010-06-15 Thread Dala Himself
I want to make a program which analyzes a pdf to find which colorspaces are used in the document. My program goes through every page in the pages tree and for every page I want to check the page's contenstream(s) for the operators CS, SCN, G, RG and K (which are all used to set the current col