[iText-questions] How to set line spacing for a multi-line form field?

2011-05-02 Thread Eric Chow
Hello, Is it possible to set a specific line-height(line spacing) for a multi-line form field at run-time in iText Java? Best regards, Eric -- WhatsUp Gold - Download Free Network Management Software The most intuitive,

Re: [iText-questions] Portability of BaseFont.createFont (was Re: Purpose of book/{build, examples}.xml?

2011-05-02 Thread Larry Evans
On 05/02/11 09:42, Larry Evans wrote: > On 05/02/11 01:15, 1T3XT BVBA wrote: >> Op 1/05/2011 19:28, Larry Evans schreef: >>> Did an `svn update` then `ant execute` which got much fewer errors, >>> but still got some suggesting a windows path expression (using c:) >>> instaad of something more gen

Re: [iText-questions] character spacing in vertical text

2011-05-02 Thread Mark Storer
It would appear that a chunk's character spacing is ignored in the current version of VerticalText: void writeLine(PdfLine line, PdfContentByte text, PdfContentByte graphics) { PdfFont currentFont = null; PdfChunk chunk; for (Iterator j = line.iterator(); j.hasNext();

Re: [iText-questions] character spacing in vertical text

2011-05-02 Thread TAKEGATA Seiji
Hi, In vertical text, character spacing would be vertical spacing and leading be horizontal spacing. Vertical text is like the following image. http://kawausotei.cocolog-nifty.com/easy/images/2008/03/19/mokiticapture.png VerticalText.setLeading works in this maner but Chunk.setCharacterSpacing in

Re: [iText-questions] How to watermark a digitally signed pdfprogramatically

2011-05-02 Thread Kiran Nepal
Hi Leonard,   Did you come up with any ideas that can help me. I am yet not able to solve this issure.   Regards, Kiran --- On Thu, 4/28/11, Leonard Rosenthol wrote: From: Leonard Rosenthol Subject: Re: [iText-questions] How to watermark a digitally signed pdfprogramatically To: "Post all y

Re: [iText-questions] Portability of BaseFont.createFont (was Re:Purpose of book/{build, examples}.xml?

2011-05-02 Thread Larry Evans
On 05/02/11 13:20, Mark Storer wrote: >> IIUC, then instead of the change I made, I could have make >> this change (to book/src/part1/chapter02/DirectorPhrases2.java): >> >> timesbd = FontFactory.getFont("timesbd"); >> >> times = FontFactory.getFont("times"); >> >> Is that right? > > If you'v

Re: [iText-questions] character spacing in vertical text

2011-05-02 Thread Mark Storer
Forgive me, but aren't they the same thing in vertical text? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: TAKEGATA Seiji [mailto:takeg...@veltec.co.jp] > Sent: Monday, May 02, 2011 12:43 P

Re: [iText-questions] character spacing in vertical text

2011-05-02 Thread TAKEGATA Seiji
Thank you for your reply. I tried setLeading() but it set line spacing instead of character spacing. Thank you anyway. 2011/5/3 Mark Storer : > VerticalText.setLeading() > > --Mark Storer >  Senior Software Engineer >  Cardiff.com > > import legalese.Disclaimer; > Disclaimer DisCard = null; > > >

Re: [iText-questions] character spacing in vertical text

2011-05-02 Thread Mark Storer
VerticalText.setLeading() --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: TAKEGATA Seiji [mailto:takeg...@veltec.co.jp] > Sent: Saturday, April 30, 2011 12:24 AM > To: itext-questions@lists.s

Re: [iText-questions] How to activate the zoom feature for interactive PDF file? Urgent help!!

2011-05-02 Thread Mark Storer
That has nothing to do with iText, so is Off Topic. Might I suggest you ask here instead? http://superuser.com/ --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: butterfamily [mailto:kimseng..

Re: [iText-questions] Portability of BaseFont.createFont (was Re:Purpose of book/{build, examples}.xml?

2011-05-02 Thread Mark Storer
> IIUC, then instead of the change I made, I could have make > this change (to book/src/part1/chapter02/DirectorPhrases2.java): > > timesbd = FontFactory.getFont("timesbd"); > > times = FontFactory.getFont("times"); > > Is that right? If you've already called FontFactory.registerDirectorie

Re: [iText-questions] Portability of BaseFont.createFont (was Re:Purpose of book/{build, examples}.xml?

2011-05-02 Thread Larry Evans
On 05/02/11 11:47, Mark Storer wrote: > This is what FontFactory.registerDirectories() is for. > RegisterDirectories calls FontFactory.registerDirectory() on a wide > variety of commonly used font paths: > > public int registerDirectories() { > int count = 0; > String windir =

Re: [iText-questions] Portability of BaseFont.createFont (was Re:Purpose of book/{build, examples}.xml?

2011-05-02 Thread Mark Storer
This is what FontFactory.registerDirectories() is for. RegisterDirectories calls FontFactory.registerDirectory() on a wide variety of commonly used font paths: public int registerDirectories() { int count = 0; String windir = System.getenv("windir"); String fileseparato

[iText-questions] Portability of BaseFont.createFont (was Re: Purpose of book/{build, examples}.xml?

2011-05-02 Thread Larry Evans
On 05/02/11 01:15, 1T3XT BVBA wrote: > Op 1/05/2011 19:28, Larry Evans schreef: >> Did an `svn update` then `ant execute` which got much fewer errors, >> but still got some suggesting a windows path expression (using c:) >> instaad of something more generic was used: > That's documented on p374.

Re: [iText-questions] Acrobat measuring tool

2011-05-02 Thread Leonard Rosenthol
IT IS NOT! The Measuring tool supports BOTH standard measurements AS WELL AS geospatial ones - it's smart that way :). BUT the fact still stands that _ONLY_ Reader-enabled PDFs can use that tool, and you can _ONLY_ Reader-enable with Adobe tools. Leonard -Original Message- From: Chris

Re: [iText-questions] Acrobat measuring tool

2011-05-02 Thread Christopher Coy
Thanks everyone, I didn't realize this was only a geospatial measuring tool. -Chris On Mon, May 2, 2011 at 3:58 AM, 1T3XT BVBA wrote: > Op 2/05/2011 9:46, toinon vigier schreef: >> Hello, >> >>   I think that the measuring tool is only available when your PDF has >> been created by Adobe Acrobat

Re: [iText-questions] Acrobat measuring tool

2011-05-02 Thread 1T3XT BVBA
Op 2/05/2011 9:46, toinon vigier schreef: > Hello, > > I think that the measuring tool is only available when your PDF has > been created by Adobe Acrobat or a Terrago for GeoPDF. The next release will bring some new dictionaries for Geospatial PDFs (new in PDF-2, ISO-32000-2). We don't have s

Re: [iText-questions] Acrobat measuring tool

2011-05-02 Thread toinon vigier
Hello, I think that the measuring tool is only available when your PDF has been created by Adobe Acrobat or a Terrago for GeoPDF. Toinon 2011/4/29 Christopher Coy > Hello, > > In Acrobat Reader 9 (probably others as well), there is a Measuring > Tool under the Analysis Toolbar. It has an as

Re: [iText-questions] Convert Text-Based PDF to Image-Based PDF

2011-05-02 Thread 1T3XT BVBA
Op 2/05/2011 9:09, Balajiprasad schreef: Hi, I have used MODI(Microsoft office document Imaging 12.0 Type Library) to extract text from Image i.e.) converting PDF Pages to Images(jpg or tif) and then extracting Text from Images. Good for you. I don't know MODI. Is it possible to use iTex

Re: [iText-questions] Convert Text-Based PDF to Image-Based PDF

2011-05-02 Thread Balajiprasad
Hi, I have used MODI(Microsoft office document Imaging 12.0 Type Library) to extract text from Image i.e.) converting PDF Pages to Images(jpg or tif) and then extracting Text from Images. Is it possible to use iTextSharp to place the Text into the pdf & using Modi object get Coordinates to pla