rajeshkatkam wrote:
> Does line spacing depend on font name?

It doesn't depend on font name, but it can depend on font size.

> I am converting HTML string to PDF
> using Itext but line spacing is not consistent from one font to other font
> in column text.

Are we talking about text mode or composite mode?

> I am using setLeading to set the line space

Where? If you use setLeading on the ColumnText object, it will be 
ignored in composite mode.

> but it is
> working for only some fonts. Basically for the same fontsize some fonts are
> giving large line space, but PDF taking same line space for all fonts. Hoe
> to fix this?. Thanks in advance.

Without an example demonstrating the problem, it's very hard to comment 
on this.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to