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

Reply via email to