RE: [iText-questions] True Type Font Portability and Division by Zero exception

2002-05-14 Thread Paulo Soares
That's really strange. The method where the exception is thrown is called after the embedded information is sent to the pdf, so the byte array has the font. It can only throw the exception if head.unitsPerEm is zero and that value was used before many times. I tested your code and it works. Best

RE: [iText-questions] height of a row in a table

2002-05-14 Thread Paulo Soares
PdfPTable.getDefaultCell().setBorder(Rectangle.NO_BORDER) Best Regards, Paulo Soares -Original Message- From: Ravi Prakash Vinnamuri [SMTP:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 17:13 To: [EMAIL PROTECTED] Subject: [iText-questions] height of a row in a table I'm

Re: [iText-questions] True Type Font Portability and Division by Zero exception

2002-05-14 Thread Jeff Larsen
I found and fixed the problem. It had nothing to do with iText. In the original code (below) the call to ocraURL.openStream().read(bytes) returns the full file when the file is not jarred. When the font file is contained in a jar, openStream() gets you an unbufffered InputStream which requires

[iText-questions] Implementing image maps

2002-05-14 Thread Paul Warren
Hi, I am trying to implement image maps in a PDF document, so that areas of a graphic link to other points in a PDF document. I am creating the graphics using Graphics2D to create a PDFTemplate (as per tutorial chapter10). I want to include the graphics inline, so I then do:

RE: [iText-questions] Implementing image maps

2002-05-14 Thread Paulo Soares
Link coordinates are always relative to the page and that's the way PDF works. It's impossible for the moment to make it relative to the template as it would require to store the transformation matrix, something that is not done now. You'll have to place the images at absolute positions and work

Re: [iText-questions] ArrayIndexOutOfBoundsException

2002-05-14 Thread Ben Sinclair
I just tried something new that might shed some light on my problem. This is what I have been doing: Create a temp pdf and a real pdf. Write to the temp pdf, close it, then import it into the real pdf. Some of these variables are defined outside this method. When I run this, I get the

Re: [iText-questions] Implementing image maps

2002-05-14 Thread Paul Warren
On Tue, May 14, 2002 at 04:38:29PM +0100, Paulo Soares wrote: Link coordinates are always relative to the page and that's the way PDF works. It's impossible for the moment to make it relative to the template as it would require to store the transformation matrix, something that is not done

[iText-questions] adding an image to a cell with text

2002-05-14 Thread Campanale, Rocco
I am working with version .91. What I am trying to accomplish is to add a cell to table that contains an image,jpeg, and some text, side by side. I seem to be able to accomplish this with the following snippet of code: hdr1 = new Chunk(uncheckImg,0,0); hdr2 = new

[iText-questions] Question: How can I extract form elements?

2002-05-14 Thread Scott Yanoff
Title: Question: How can I extract form elements? This product seems the best out of any I have been researching so far. Currently, I can successfully read in a series of PDF files and concatenate them into one. However, I'd like to update existing widget/form fields with new text values.

Re: [iText-questions] Question: How can I extract form elements?

2002-05-14 Thread Leonard Rosenthol
Title: Re: [iText-questions] Question: How can I extract form At 2:27 PM -0500 5/14/02, Scott Yanoff wrote: Currently, I can successfully read in a series of PDF files and concatenate them into one. However, I'd like to update existing widget/form fields with new text values. At this time, you