The document type I create is RTF. In itext 1.4.4 I use the class RtfWriter and in iText 2.1.x the class RtfWriter2. That is the only difference I suppose.
----- Original Message ----- From: "Howard Shank" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <[email protected]> Sent: Tuesday, June 24, 2008 4:04 PM Subject: Re: [iText-questions] line distance in RTF document >I have not had time to look at this yet. > > Sorry, > Howard > > > > ----- Original Message ---- > From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > To: Post all your questions about iText here > <[email protected]> > Sent: Tuesday, June 24, 2008 4:14:38 AM > Subject: Re: [iText-questions] line distance in RTF document > > Hello, > > has anyone tried my example? The problem is the distance between two lines > that are separated by "\n". in itext 1.4.4 everything is normal but in > itext > 2.1.x the distance is about 16pt. > > best regards > Marcus > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "Post all your questions about iText here" > <[email protected]> > Sent: Monday, June 23, 2008 2:39 PM > Subject: [iText-questions] line distance in RTF document > > >> Hello, >> >> here an example: >> >> <code> >> Table table = new Table(1); >> Cell cell = new Cell(new >> Phrase("texttexttext\ntexttexttext\ntexttexttext", >> FontFactory.getFont("Arial", >> 10, >> com.lowagie.text.Font.NORMAL))); >> cell.setHorizontalAlignment(Element.ALIGN_LEFT); >> cell.setBorder(Rectangle.LEFT); >> table.addCell(cell); >> </code> >> >> When I do this in iText 1.4.4 the line distance is normal. >> The same thing whith iText 2.1.x ==> the distance between the lines in >> the >> cell is much more. MS Word tells me the distance is at least 16 pt. >> >> I hope anyone can imagine what the problem is? >> >> best regards >> Marcus >> Germany >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> iText-questions mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/itext-questions >> >> Do you like iText? >> Buy the iText book: http://www.1t3xt.com/docs/book.php >> Or leave a tip: https://tipit.to/itexttipjar >> > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Do you like iText? > Buy the iText book: http://www.1t3xt.com/docs/book.php > Or leave a tip: https://tipit.to/itexttipjar > > > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Do you like iText? > Buy the iText book: http://www.1t3xt.com/docs/book.php > Or leave a tip: https://tipit.to/itexttipjar > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
