I am using RtfWriter (not RtfWriter2; I know RtfWriter has been deprecated,
but I still need to use it for now) on iTextSharp v4.0.8.  The problem is
twofold: 

 

Once a font is set for a Phrase that is placed inside of a Table Cell, it
gets applied to subsequent cells unless the font in those subsequent cells
is reset.

Setting Phrase content to blank (x20 or x0A) seems to ignore the font that
is set for it.

 

The problem shows up in the following scenario: Let's say I have a Table
with one column.  The cell in a row is set to a font of Arial 18pt.  The
next cell, which is the next row is blank.  It ends up being Arial 18pt as
well, even though I specified a smaller font size.  It doesn't take the new
font size for the subsequent cell if it is blank.  I also tried to set a
default font size using Table.DefaultCell, but this did not solve the
problem.

 

Any help would be appreciated.

 

- Stew

 

 

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Reply via email to