Hi, 

I've just started using iText and I have a problem trying to use the
setLeading(float fixedLeading, float multipliedLeading) method of the class
Paragraph. I want to set the line spacing to the size of the biggest font in the
paragraph. I've tried calling the method with fixedLeading = 0 and
multipliedLeading = 1

setLeading(0, 1)

but when I try, all the text appears in the same line.

>From the javadoc:
       Leading = fixedLeading+multipliedLeading*maxFontSize

What am I doing wrong?

Thanks.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to