Hi,

First off thanks for this great project! Nice piece of work Bruno!

I have a question regarding the line-spacing (leading) in ColumnText with
irregular columns (text mode).
Using the "Irregular columns" sample from page 203 as a base, I added some
code to set the font of the phrase i want to add.

For example:
Phrase phrTest = new Phrase("bla bla bla etc...",
FontFactory.getFont(FontFactory.HELVETICA, 5));
ct.addText( phrTest );

The result is that the ColumnText shows the text in the small font, but
using an unexpected large line spacing.
Setting ct.setLeading(..) does not invluence the linespacing and neither
does phrTest.setLeading(..);

Setting the cb.setFontAndSize doesn't help either.
Linespacing is as expected using setSimpleColumn(),but I need irregular
columns.

I'm pulling my hairs out for two days now and there's nothing left...
Please please give me a hint on how to change the leading on text in an
irregular ColumnText

Thanks!
Jan Douwe B.
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to