[iText-questions] Document Error when attempting to use AFM Font File

2008-12-12 Thread Damian Nave
Hi, I'm going the following error when attempting to use an AFM font file. If you could provide any information on the cause that would be appreciated as google came up a little short. com.lowagie.text.DocumentException: Missing StartCharMetrics in C:\\WINDOWS\\Fonts_AFM\\HelveNeuBla.AFM

Re: [iText-questions] Virus Scan?

2008-12-12 Thread Leonard Rosenthol
>I've heard recently that it is possible to embed a virus as an attachment in a PDF file. > Sure, in the same way you can embed one in a ZIP, ARC, StuffIt, RAR, etc. archive Leonard On Dec 12, 2008, at 3:05 PM, gem66 wrote: > > Our project uses iText extensively, and I have re

Re: [iText-questions] itext, PdfTextExtractor

2008-12-12 Thread Kevin Day
Peter-  Thanks for getting in touch - I am replying to the full iText mailing list so everyone can participate.     The code contribution to date has been focused on solving our own internal needs - but I am absolutely (and extremely) interested in any improvements/fixes/etc... to the text extra

[iText-questions] Virus Scan?

2008-12-12 Thread gem66
Our project uses iText extensively, and I have recently been asked to find out if iText has the capability of scanning a file for a virus prior to manipulating it?! Is this even possible? I've heard recently that it is possible to embed a virus as an attachment in a PDF file. Thank you for yo

Re: [iText-questions] Fill page vertically

2008-12-12 Thread 1T3XT info
Alexandre Simundi wrote: > > Hi, > > I have a dynamic pdf with, say 15 pages. I need to justify the last > page to bottom. > > I think that it would be done by distributing margins and spacings of > the document, so that the last paragraph of the last page would be in > the page's bottom. T

Re: [iText-questions] Fill page vertically

2008-12-12 Thread Alexandre Simundi
Hi, I have a dynamic pdf with, say 15 pages. I need to justify the last page to bottom. I think that it would be done by distributing margins and spacings of the document, so that the last paragraph of the last page would be in the page's bottom. any idea of how to do that? thanks in advance

Re: [iText-questions] Fill page vertically

2008-12-12 Thread Alexandre Simundi
Hi, I have a dynamic pdf with, say 15 pages. I need to justif the last page to bottom. > > Message: 5 > Date: Fri, 12 Dec 2008 13:51:54 +0100 > From: 1T3XT info > Subject: Re: [iText-questions] Fill page vertically > To: Post all your questions about iText here > > Message-ID: <49425e

Re: [iText-questions] Does line spacing depend on font size?

2008-12-12 Thread 1T3XT info
rajeshkatkam wrote: > Thank for response.I am using composite mode od columntext and setLeading > applied with paragraph. > I am uploading files of how it is looking in web page and how it is > appearing in PDF > > this image is what we are seeing in web page > > http://www.nabble.com/file/p2097

Re: [iText-questions] Does line spacing depend on font size?

2008-12-12 Thread rajeshkatkam
Thank for response.I am using composite mode od columntext and setLeading applied with paragraph. I am uploading files of how it is looking in web page and how it is appearing in PDF this image is what we are seeing in web page http://www.nabble.com/file/p20975692/screen1.jpg screen1.jpg Foll

Re: [iText-questions] Does line spacing depend on font size?

2008-12-12 Thread 1T3XT info
rajeshkatkam wrote: > Does line spacing depend on font name? It doesn't depend on font name, but it can depend on font size. > I am converting HTML string to PDF > using Itext but line spacing is not consistent from one font to other font > in column text. Are we talking about text mode or compo

Re: [iText-questions] documentation - setting page size example DefaultPageSize.java

2008-12-12 Thread 1T3XT info
Daniel Walter wrote: > When setting the page size for the first page, it appears that this needs to > be done before document.open(). Is this the correct way to do this? > > It would be helpful if this was in the examples for setting page size and in > the documentation for setPageSize itself.

Re: [iText-questions] Fill page vertically

2008-12-12 Thread 1T3XT info
Alexandre Simundi wrote: > Hi, > > I'm trying manipulate PDF with iText to fill page vertically with text. > > In my algorithm I get the position of the last paragraph(using > PageEvent) and change de botton margin to adjust the text. But I don't > had sucess because this margin doesn't have pr

[iText-questions] Fill page vertically

2008-12-12 Thread Alexandre Simundi
Hi, I'm trying manipulate PDF with iText to fill page vertically with text. In my algorithm I get the position of the last paragraph(using PageEvent) and change de botton margin to adjust the text. But I don't had sucess because this margin doesn't have precision Someone needed to do somethink l

Re: [iText-questions] Does line spacing depend on font size?

2008-12-12 Thread rajeshkatkam
Does line spacing depend on font name?. I am converting HTML string to PDF using Itext but line spacing is not consistent from one font to other font in column text. I am using setLeading to set the line space but it is working for only some fonts. Basically for the same fontsize some fonts are gi

Re: [iText-questions] Come On, Share Your iText Generated PDF Examples

2008-12-12 Thread FlyingBuzz
Well i can provide example of my generated pdf I did before. But I can't post the source code because it contains pricing calculation formulas and stuff. I posted the pdf example on this forum before already but there havn't been any replies with pdf that was generated by other people using itext.

[iText-questions] documentation - setting page size example DefaultPageSize.java

2008-12-12 Thread Daniel Walter
When setting the page size for the first page, it appears that this needs to be done before document.open(). Is this the correct way to do this? It would be helpful if this was in the examples for setting page size and in the documentation for setPageSize itself. Daniel

Re: [iText-questions] Is there a way to change the line spacing in Paragraph or Chunk?

2008-12-12 Thread rajeshkatkam
try this. p.setLeading(0.0f,1.1f); if you increase second parameter your line spacing will change with in paragraph Henry-16 wrote: > > Is there a way to change the line spacing in Paragraph or Chunk? > I've try do this... > > p = new Paragraph(chunk); > p.setSp