Now we used different leadings for different fonts. Its working for most of fonts. but some fonts giving more space above the text than the below.
This is what we are seeing in web page http://www.nabble.com/file/p21304969/webview.bmp webview.bmp and, this is what we are getting in PDF http://www.nabble.com/file/p21304969/pdfview.bmp pdfview.bmp you can find more gap between first and second line and, less gap between second and third line. It is happening only due to font of the middle line. If we apply different font for middle line it is giving same line space as we are getting in web page. What causing it to give more space above the text for that font? 1T3XT info wrote: > > rajeshkatkam wrote: >> Is there any method in Itext that can find the glyph properties or >> default >> leading and ascender for a TTF-font. > > Leading: no > Ascender and descender: yes > http://1t3xt.info/examples/browse/?page=example&id=132 > -- > 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--tp9010557p21304969.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
