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 consider the subscript as it doesn't have much sense mixing it with underline text; the result would be probably stroke text. For specialized work the customizable Chunk.setUnderline() can always be used. - 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). Best Regards, Paulo Soares > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno Lowagie > Sent: Monday, December 20, 2004 11:38 AM > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] TextRise and Chunk.BACKGROUND / > Chunk.UNDERLINE > > Hello Paulo, > I noticed that Chunk.BACKGROUND en Chunk.UNDERLINE didn't take the > Chunk.TEXTRISE into account. > The background of a Chunk / the line under or through a Chunk weren't > drawn at the expected place because of this, > so I made some changes in Chunk, PdfChunk and PdfDocument. > The changes are in CVS. > 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 > ------------------------------------------------------- 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
