thanks for the response, But, we are dynamically adding fonts to our web application every day. Is it possible to provide different leading for each font dynamically(by taking any property of font used in paragraph or chunk). It is difficult to test every font to set the leading accordingly.
Is there any method in Itext that can find the glyph properties or default leading and ascender for a TTF-font. If we find line height(not leading) by using other sources, How can we apply using Itext. 1T3XT info wrote: > > rajeshkatkam wrote: >> Can we get the exact look in PDF from what we are seeing in webpage? > > I fear you'll have to make a list that defines a specific leading for > each font you are using. > -- > This answer is provided by 1T3XT BVBA > http://www.1t3xt.com/ - http://www.1t3xt.info > > ------------------------------------------------------------------------------ > _______________________________________________ > 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 > > -- View this message in context: http://www.nabble.com/Does-line-spacing-depend-on-font-size--tp9010557p21144579.html Sent from the iText - General mailing list archive at Nabble.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
