Re: [iText-questions] Font Issues

2008-04-17 Thread Leonard Rosenthol
My assumption is that the 3rd party vendor isn't fully supporting the PDF standard. Here is the relevant section (5.5.3) of PDF Reference 1.7 5.5.3Font Subsets For a font subset, the PostScript name of the font—the value of the font’s BaseFont entry and the font descriptor’s FontName entry—be

Re: [iText-questions] getting the PDF from an Applet back to the calling javascript

2008-04-17 Thread wasegraves
-- Original message -- From: Peter Rait <[EMAIL PROTECTED]> > > Hello Bill, > > Thank you for the useful link on your other posting. > You're very welcome. > I think I will the Swing application give a try as it seem easily > custumizable to me. But if I genera

Re: [iText-questions] getting the PDF from an Applet back to the calling javascript

2008-04-17 Thread Peter Rait
Hello Bill, Thank you for the useful link on your other posting. >> It is not a form which will be created by the application but a PDF >> containing only some tables which will be viewed with the Reader. Would >> this also be against the EULA? > > > If the PDF is modified on the user's compu

Re: [iText-questions] getting the PDF from an Applet back to the calling javascript

2008-04-17 Thread wasegraves
-- Original message -- From: Peter Rait <[EMAIL PROTECTED]> > > Hello Bill, > > > http://www.adobe.com/products/acrobat/acrreula.html > > > > For example, check paragraph 3.4 and enlighten yourself. > > I will have a look. > I was not thinking about a local HTTP

Re: [iText-questions] getting the PDF from an Applet back to the calling javascript

2008-04-17 Thread wasegraves
-- Original message -- From: Peter Rait <[EMAIL PROTECTED]> > Yes I know what a Swing application is but I thought that if one hasn't > very much experience building a GUI using Swing it would be easier to > have a HTML page with a form submitting the data vi

Re: [iText-questions] getting the PDF from an Applet back to the calling javascript

2008-04-17 Thread Peter Rait
Hello Bill, > http://www.adobe.com/products/acrobat/acrreula.html > > For example, check paragraph 3.4 and enlighten yourself. I will have a look. > I recently ran across a stand-alone CDROM-based Java application that > collects form data, merging same into an AcroForm the hard way, by editin

Re: [iText-questions] getting the PDF from an Applet back to the calling javascript

2008-04-17 Thread Peter Rait
Bruno Lowagie schrieb: > Peter Rait wrote: >> Thank you for your considerations. >> My problem is what else can I use when I want to distribute my >> application (creating customizable lists as PDFs) to users who have not >> always an internet connection to a server? >> Would it be a better solut

Re: [iText-questions] Font Issues

2008-04-17 Thread Collin Judd
Leonard, Below is a report output for a modified file. You'll notice that the first font is different because the PDF was manually modified. What I am being told by a 3rd party vendor is they cannot read the PDF because of the prefix. If there is some way to I can generate the file without t

Re: [iText-questions] drawImage generated wrong exception if network connection is lost

2008-04-17 Thread Paulo Soares
I'll have a look. Paulo - Original Message - From: "jd" <[EMAIL PROTECTED]> To: Sent: Thursday, April 17, 2008 6:39 PM Subject: [iText-questions] drawImage generated wrong exception if network connection is lost > > If PdfGraphics2D.drawImage() catches an Exception, it throws an > Il

[iText-questions] drawImage generated wrong exception if network connection is lost

2008-04-17 Thread jd
If PdfGraphics2D.drawImage() catches an Exception, it throws an IllegalArgumentException (presumably to avoid declaring exceptions) with no message or information. A common cause for an exception here is an IOException when writing the output stream to an http response. Unfortunately, there is n

Re: [iText-questions] Font Issues

2008-04-17 Thread Leonard Rosenthol
There are no problems here at all. Looks just fine. What makes you think there is? The prefix is required by the PDF Reference for any font that is subset (which, as you can see, is true for all of these). Leonard On Apr 17, 2008, at 2:06 PM, Collin Judd wrote: We are having issues rea

[iText-questions] Font Issues

2008-04-17 Thread Collin Judd
We are having issues reading certain information off a PDF file generated from CFMX. While visually the file appears to be normal, the font properties appear really odd. Using PDFlib FontReporter (http://www.pdflib.com/download/free-software/fontreporter), the report returns the following informa

Re: [iText-questions] RSA 2k

2008-04-17 Thread Paulo Soares
The SELF_SIGNED mode only supports 1024 bit long keys, that's an Acrobat imposition. The other examples given are for 1024 bit long key and use a 128 byte array, if you use a 2048 bit long key you'll need a 256 byte array and so on. Paulo > -Original Message- > From: [EMAIL PROTECTED] >

Re: [iText-questions] Getting the element's of PdfDocument

2008-04-17 Thread Howard Shank
Can you please reword your questions so they are understandable? br, Howard - Original Message From: ilyas gören <[EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net Sent: Thursday, April 17, 2008 9:31:33 AM Subject: [iText-questions] Getting the element's of PdfDocument Hi I

Re: [iText-questions] To add one signs digitalis in ablank signaturefield

2008-04-17 Thread Paulo Soares
It's fixed in the SVN. If you create the blank signature as printable it will work in the current version. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Thursday, April 17, 2008 2:22 PM > To: itext-questions@l

[iText-questions] Getting the element's of PdfDocument

2008-04-17 Thread ilyas gören
Hi I want to learn is it possible to getting the elements of the pdfDocument.Such as there are two paragraphs in the document and I want to get these two paragraphs.Also can I get these elements to RtfDocument.Thanks. - This S

Re: [iText-questions] RSA 2k

2008-04-17 Thread jesusaplsoft
Hi, I have a similar problem. using: itext-2.1.0 sun java-16_06 opensuse-10.3 last updated from internet windows-xp last update from WindowsUpdate problem: random arrayIndexOutOfBounds exception as I close stp. I do not know when it is going to happen, actually. If I run the pro

Re: [iText-questions] jsp forward problem

2008-04-17 Thread Alexis Pigeon
Hi Olivier, On 17/04/2008, Olivier Bastin <[EMAIL PROTECTED]> wrote: > > Hi, > > I have in a jsp the code below: [snip] > Can you help me? This is totally off-topic on an iText list. You'll get quicker and better replies if you post your question to a JSP-related forum / mailing-list. Cheer

Re: [iText-questions] Image desn´t appear when viewing PDF with PDFRenderer

2008-04-17 Thread pepwallace
I know that the bug is from PDFRenderer code but I have generated the same PDF with FOP and I can print the PDF ok with PDFRenderer ... pepwallace wrote: > > Hi there, > > > > I have generated a PDF with iText. It has a header and a table. The header > has a 3 column table, and I have i

Re: [iText-questions] Image extracted from PDF file and scaledis slightly bigger than expected.

2008-04-17 Thread Andrew Bligh
That has solved the problem, all measurementss are coming in exact now. Once again thank you for your swift and excellent response. Keep up the good work on a top product! > Date: Thu, 17 Apr 2008 12:08:26 +0100 > From: [EMAIL PROTECTED] > To: itext-questions@lists.sourceforge.net > Subject: Re

[iText-questions] jsp forward problem

2008-04-17 Thread Olivier Bastin
Hi, I have in a jsp the code below: When i call this jsp, i have the message "do you want to save file..." i have no "Open" button, just "cancel or save". When i call the genPDF.jsp directly, the pdf open normaly. Can you help me? ___

Re: [iText-questions] support for table of contents in pdf

2008-04-17 Thread Abid Hussain
Hi, the document is tagged. But the dodgy thing is to resolve the page numbers and formatting the TOC, so that it looks like: ...dots till end of line... And after placing the TOC in the beginning of the document, you have to reorder the pages, cause the page numbers aren't correct any more. As

Re: [iText-questions] support for table of contents in pdf

2008-04-17 Thread Ning Zhao
Hi Abid, if your original pdf file is tagged pdf _and_ the contents are well structured, iText has some support for the structured elements. Otherwise you might have to extract the content and organise the content yourself. Have a look at the PRStream class in iText and its documentation, you'

Re: [iText-questions] Image extracted from PDF file and scaledis slightly bigger than expected.

2008-04-17 Thread Paulo Soares
The problem is that you are doing two calculations with the pdf and by default iText doesn't have that kind of precision by default. Call ByteBuffer.HIGH_PRECISION=true. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Andrew Bligh > Sent:

[iText-questions] support for table of contents in pdf

2008-04-17 Thread Abid Hussain
Hi everybody, as far as I know, there's no specific support for generating a table of contents in a pdf document in the iText-API...? Cause I find it quite tricky creating a TOC, I wonder if anybody has written a class (or a collection of classes) which comes up with such a support and could p

Re: [iText-questions] Inserting searchable text layer beneath image

2008-04-17 Thread Leonard Rosenthol
Use PDFStamper and associated classes to add the text. Leonard On Apr 15, 2008, at 7:29 PM, Kavitha_Govindaraj wrote: > > Hi Leonard, > I have the same question as Jody and I have a text file with position > information. Could you tell me which class or package i need to use > in order > to ac

Re: [iText-questions] Get font type and size from a pdf

2008-04-17 Thread Leonard Rosenthol
Instead of extracting just text in the PDF - you should extract the content in a format that maintains attribute information (even if only a limited set) such as HTML or RTF. Then you could attempt to reconstruct something akin to the PDF from that information. Of course, such formats are

Re: [iText-questions] Problem with the paragraph

2008-04-17 Thread Javier Del Amo
Ok. thank you very much. 2008/4/16, Paulo Soares <[EMAIL PROTECTED]>: > > Provide an empty Paragraph with zero leading. This way your Paragraph > won't be the first and will show the spacing. > > Paulo > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] O