|
Hi;
I have the following code:
int > if (chr.isBold())
style |= Font.BOLD; if (chr.isItalic()) style |= Font.ITALIC; if (chr.getUnderline() != RtfElementChar.UNDER_NONE) style |= Font.UNDERLINE; if (chr.getStrikeThrough() != RtfElementChar.STRIKE_NONE) style |= Font.STRIKETHRU; It does fine setting the font to bold and italic
when appropiate. But when set to underline and/or strikethru - it ignores it.
One note, from the returned font I do a getBaseFont() and pass that to
PdfContentByte.showTextAligned().
thanks - dave
|
