how to find line-height while converting html to pdf

View: New views
1 Messages — Rating Filter:   Alert me  

how to find line-height while converting html to pdf

by rajeshkatkam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I am converting HTML to PDF,  which has span tag containing style attribute with line-height property set to specific value( like 1.5em), and i am getting default line spacing in PDF.

When i set the leading to paragraph by using setLeading() method it works fine for some values in trial and error process. While parsing HTML, does HTMLWorker ignore the line-height of elements?.

Is there any property or method to find the leading value of paragraph? or Is there any solution to resolve this?

Thanks.