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

2002-05-13 Thread Jeff Larsen
I'm using iText to generate PDF on the fly in a servlet running under Tomcat 4.0.3. The PDF document requires that an image file and True Type font file be packaged with the class that creates the PDF. In my development environment where the image and font files are read directly from the file sys

Re: [iText-questions] ArrayIndexOutOfBoundsException

2002-05-13 Thread Ben Sinclair
I know the PDF is probably totally invalid. Is there any way to make it throw an exception indicating this before I call .close()? Since this occurs during close(), I don't get anything into my new PDF. -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Paulo Soares" <[EMAIL P

RE: [iText-questions] ArrayIndexOutOfBoundsException

2002-05-13 Thread Leonard Rosenthol
At 5:21 PM +0100 5/13/02, Paulo Soares wrote: >A pdf validator is a most wanted tool but up to now the only way is to >import the pdf into acrobat or gs and see what happens. I have a hacked version of Xpdf that will do this - report all sorts of problems with PDF's that you feed it. Ho

Re: [iText-questions] Unicode fonts via PDFGraphics2D

2002-05-13 Thread Paul Warren
On Mon, May 13, 2002 at 05:34:44PM +0100, Paulo Soares wrote: > The Lucida fonts shipped by sun have the character. The font match is done > comparing with java.awt.Font.getFontName(). To match the bold you'd have > "sansserif.bold". I see - that explains it. Thanks for the help, Paul

RE: [iText-questions] Unicode fonts via PDFGraphics2D

2002-05-13 Thread Paulo Soares
The Lucida fonts shipped by sun have the character. The font match is done comparing with java.awt.Font.getFontName(). To match the bold you'd have "sansserif.bold". Best Regards, Paulo Soares > -Original Message- > From: Paul Warren [SMTP:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002

Re: [iText-questions] Unicode fonts via PDFGraphics2D

2002-05-13 Thread Paul Warren
On Mon, May 13, 2002 at 03:08:32PM +0100, Paulo Soares wrote: > > What I can't do is actually select and use this font via the Graphics 2D > > interface. I found part of a thread in the mailing list archives (which > > is where I got the above code) but I couldn't find the beginning of the > > th

RE: [iText-questions] ArrayIndexOutOfBoundsException

2002-05-13 Thread Paulo Soares
A pdf validator is a most wanted tool but up to now the only way is to import the pdf into acrobat or gs and see what happens. If the pdf opens ok in these two readers it may be a problem with iText. In that case send me the pdf for examination. Best Regards, Paulo Soares > -Original Message

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

2002-05-13 Thread Ravi Prakash Vinnamuri
I'm using table and getting data into table dynamically. But I'm not able to control the row height.  I found that row height can be controlled using pdfptable but I didn't find a method in pdfptable where by I can display table with no borders. Can somebody suggest me a way to control the he

Re: [iText-questions] ArrayIndexOutOfBoundsException

2002-05-13 Thread Ben Sinclair
Is there a way to tell if the pdf is defective before I try and import it? -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "'Ben Sinclair'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, May 07, 2002 11:13 AM Subject: RE: [iTex

RE: [iText-questions] Unicode fonts via PDFGraphics2D

2002-05-13 Thread Paulo Soares
> -Original Message- > From: Paul Warren [SMTP:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 13:56 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Unicode fonts via PDFGraphics2D > > I am trying to generate graphics for inclusion in PDFs which contain > the infinity symbol

[iText-questions] Unicode fonts via PDFGraphics2D

2002-05-13 Thread Paul Warren
I am trying to generate graphics for inclusion in PDFs which contain the infinity symbol (unicode 0x221E). I can get this to work in a normal paragraph: BaseFont myFont = BaseFont.createFont( "/home/shared/drop/fonts/arialuni.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); docum

RE: [iText-questions] Reading a Pdf from an (...)Input Stream

2002-05-13 Thread Paulo Soares
Reading a pdf requires random access to the file and you can't do that with an InputStream, jdk1.4 won't help you either. Read the pdf to a byte array and instantiate the PdfReader with it. Best Regards, Paulo Soares > -Original Message- > From: Olivier Goube [SMTP:[EMAIL PROTECTED]] > S

RE: [iText-questions] is LINEARIZED pdf Handled ?

2002-05-13 Thread Paulo Soares
Yes. Best Regards, Paulo Soares > -Original Message- > From: Olivier Goube [SMTP:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 10:20 > To: [EMAIL PROTECTED] > Subject: [iText-questions] is LINEARIZED pdf Handled ? > > > 1/ I use another Pdf package, but it doesn't know how to

[iText-questions] Reading a Pdf from an (...)Input Stream

2002-05-13 Thread Olivier Goube
Can itext read a PDF from an inputstream rather that a file ? I wrote a servlet which reads pdf docs from a Lotus Notes Database, using http connections. But this means using InputStreams With JDK1.4 we may instantiate a File using an URL, but not with former JDK (ie 1.3)... _

[iText-questions] is LINEARIZED pdf Handled ?

2002-05-13 Thread Olivier Goube
1/ I use another Pdf package, but it doesn't know how to read LINEARIZED Pdf files. Does itext read this kind of files ? Does anyone have already done this ? ___ L'integrite de ce message n'etant pas assuree sur Internet, EXANE ne peut etre tenue responsable