[iText-questions] autosize fonts for form fields

2006-06-06 Thread Andrew Smith
Is there something in the itext api to mimic the autosize feature that Adobe Acrobat provides for form fields? I have a form that I am trying to fill out and the fields have been set to autosize using Acrobat. If I provide the data via xfdf the fonts for each field are sized nicely and the form

Re: [iText-questions] autosize fonts for form fields

2006-06-07 Thread Andrew Smith
renders the autosize fields that we've looked at. -a. --- bruno [EMAIL PROTECTED] wrote: Andrew Smith wrote: Is there something in the itext api to mimic the autosize feature that Adobe Acrobat provides for form fields? Yes. If you set the fontsize to 0, the font-size

Re: [iText-questions] autosize fonts for form fields

2006-06-07 Thread Andrew Smith
a certain font size? -a. --- Andrew Smith [EMAIL PROTECTED] wrote: Sending to the list for archival purpsoses in case anyone is interested. The solution we used was to set the font size to 60 percent of the rectangle height and then set an extra top margin on the field equal to 40 percent