[iText-questions] RV Fields in FDF

2007-02-02 Thread CG
I'm using the FDFReader and FDFWriter classes to replace the functionality of Adobe's FDF Toolkit. First question: How can I read or write the Rich Value (/RV) data for a field in an FDF? Second question: Does iText support rendering and stamping /RV data?

Re: [iText-questions] distributing true type fonts

2006-09-12 Thread CG
have something to do with the package directory structure? "foo.bar.baz" is my package ... The directory in the jar where the fonts live is "foo/bar/baz/fonts" ... I register the font directory like this : FontFactory.registerDirectory("foo/bar/baz/fonts"); Am I way of

[iText-questions] distributing true type fonts

2006-09-12 Thread CG
If I wanted to include several special true type fonts for use in my application within a separate jar or within my application's jar, how would I tell iText where to look? CG __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best

[iText-questions] Image.setRotation seems to be broken...

2006-09-08 Thread CG
...in this context at least... try { String text = "FOO"; float barHeight = 20f; float barWidth = 1f; Barcode39 bc = new Barcode39(); bc.setCode(text); bc.setStartStopText(false); bc.setChecksumText(false); bc.setAltText(""); bc.setBarHeight(barHeight); bc.setX(barWidth); Image img =

[iText-questions] setHorizontalScaling

2006-09-05 Thread CG
I'm trying to create a chunk of text such that it will match the size of a classic rectangle. I'm having a problem with the font width. I am trying to properly use setHorizontalScaling to achieve the proper width. I must not understand what it really does. Please advise. TIA! //text is a String //

Re: [iText-questions] Chunks from html markup?

2006-08-31 Thread CG
Rats! It works at the document level, not at the direct content level. How about an AttributedCharacterIterator? --- Paulo Soares <[EMAIL PROTECTED]> wrote: > HTMLWorker. > > Paulo > > - Original Message - > From: "CG" <[EMAIL PROTECTED]> &g

[iText-questions] Chunks from html markup?

2006-08-31 Thread CG
I'd love to be able to take a string The quick brown fox jumps over the lazy dog. And have it translate the simple markups in the string into a list of attributed chunks to be deposited somewhere in my template... I guess you could say I'm the lazy dog around here. I don't want to spend time re-

[iText-questions] what is the proper way to use setTextMatrix when you really mean it?

2006-08-29 Thread CG
I have a chicken-and-the-egg type problem. I won't know how large an artifact will be until I apply the transformation. I also won't know how to translate the artifact to keep it within the clipping area of the template until it is transformed. I'm almost there, but I need a nudge on how to get th

Re: [iText-questions] PDF Size

2006-08-27 Thread CG
I can't give out the 700K and 1.2M files, but I generated some example PDFs that illustrate the relative size differences. http://www.greetings2you.com/FreeHEP.pdf http://www.greetings2you.com/iText.pdf I appreciate you taking the time to address my question! Thank you! CG --- Paulo S

[iText-questions] PDF Size

2006-08-27 Thread CG
ce for the layout of shapes. Any suggestions for reducing filesize? What details do you need to properly assess what's happening? CG __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http:/

[iText-questions] Question about "shrinking" forms

2005-09-12 Thread Ellixson Marita A GS-12 96 CG/SCTOA
I have a problem with one of the forms that I am creating, that has text that can "roll over" to other pages.   The rollover is pretty much handled, but if the form information is very brief (especially if some fields are left blank), the form "shrinks" to display about an inch of white spa

[iText-questions] Multiple page PDF...

2005-09-08 Thread Ellixson Marita A GS-12 96 CG/SCTOA
I have to create a PDF with the potential to "roll over" to multiple pages, if the content for one cell gets too long.   \n need to be seen as newlines (the info is being put in through textareas in a form, and is often cut and pasted from Word (shudder), and the cell is supposed to accept