Re: [iText-questions] Paragraph setLeading

2006-05-23 Thread bruno
a b wrote: Hi, You are right, I'm using the document.add() method. So I suppose I'm stuck with the 1.5*Biggest_Font leading, unless I retrieve all the chunks in the paragraph and use the biggest font size to set my own leading using the setLeading(float leading) method, right? Yes, you are

Re: [iText-questions] Paragraph setLeading

2006-05-23 Thread a b
Hi, You are right, I'm using the document.add() method. So I suppose I'm stuck with the 1.5*Biggest_Font leading, unless I retrieve all the chunks in the paragraph and use the biggest font size to set my own leading using the setLeading(float leading) method, right? Thanks for your prompt repl

Re: [iText-questions] Paragraph setLeading

2006-05-23 Thread bruno
jgomez wrote: What am I doing wrong? My first guess would be that you are using this paragraph in a document.add() instead of with ColumnText or PdfPCell. I don't think multipliedleading is supported outside the context of ColumnText/PdfPCell. br, Bruno --

[iText-questions] Paragraph setLeading

2006-05-23 Thread jgomez
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