I found a workaround to fix it by using the padding top on a cell. But
padding top value would depend on the biggest font size in the first line.
Does anyone know the way to get the biggest font size in the first line?

Thank you for any help.
Vrishali


Vrishali wrote:
> 
> I am using paragraphs in a ColumnText. I have set the leading on a
> paragraph as paragraph.setLeading(0.0f,1.2f). I have also set
> columnText.setUseAscender(true) so that the first line height is adjusted
> based on max ascender. Setting the setUseAscender to true is correctly
> making the biggest font in the first line in align with the given Y
> Position. But when the first line has an accented character in it, the
> accent on the character goes above the Y position specified instead of
> aligning with it.
> 
> Any help would be greatly appreciated.
> 
> Thank you
> Vrishali
> 

-- 
View this message in context: 
http://www.nabble.com/Issue-with-stamping-of-Accented-Characters-tp17316750p17422756.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to