It reached the list but there's nothing that can be done. There's no specification for the line spacing and the viewer/producer is free to put whatever it wants. The results are not even consistent across different Acrobat versions. Try to fill the fields in Acrobat Reader 5, 6, and 7.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Breno Costa > Sent: Wednesday, July 06, 2005 2:53 PM > To: [email protected] > Subject: [iText-questions] Fwd: Preserving line spacing in > multiline textfields > > [I'm reposting as I dont think it reached the list] > > Hello, > > I'm filling a pre-designed form with data from a database. The > problem is that there's a multiline textfield and its line spacing is > 1.5pts (it's designed like notebook paper visual), but as I try to > setField (field, "long value"), the line breaks normally (and thus > overrides some of the lines of the 'notebook'). > > I've tried breaking lines with new lines (\n) but could not get a > consistent behaviour. > > Is there a way to preserve that 1.5pts line spacing? I've tested > filling it with Acrobat Reader and it works fine. > > thanks in advance > > -- Breno Jacinto > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
