Paulo Soares wrote:

I know about that but at the time decided against any change based on
the text rise. Here are my reasons:

- the underline should follow the baseline otherwise mixing normal text
and superscript would cause a discontinuity.

I didn't think about that. I was just making some standalone examples.

I didn't consider the
subscript as it doesn't have much sense mixing it with underline text;
the result would be probably stroke text.

I thought of shifting the line only in the case of subscript, but I didn't, because:

For specialized work the
customizable Chunk.setUnderline() can always be used.


Yep, that's the more stable approach. If people are using textrise, they should
adjust their underline, be it with a positive (superscript) or a negative (subscript)
value. So I removed my 'fix'.


- about the background I'm neutral and as such I didn't touch it. Either
way will have problems and I think that the background should be set
elsewhere, in a table cell for example (unless the user wants a mosaic
effect when the fonts sizes are not the same).


I kept this change. It's quite harmless.

BTW: I also added a new static final NEXTPAGE to class Chunk.
Maybe it will reduce the number of 'how do I go to the next page' questions.
br,
Bruno


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to