Greg Vilardi wrote:
> Phrase pLabel = new Phrase("This should be BOLD. ", fHead);
> pLabel.add(new Phrase("This should be NORMAL. ", fBody));
To avoid font propagation issues, you should try:
Phrase pLabel = new Phrase();
pLabel.add(new Phrase("This should be BOLD. ", fHead));
pLabel.add(new Phrase("This should be NORMAL. ", fBody));
Otherwise you risk that some aspects of the font are propagated.
Is there a particular reason for using "text mode" in your
PdfPCell? You might want to use "composite mode" to avoid
problems like this. Search for these concepts for more info:
http://www.google.com/search?q=iText+%22text+mode%22+%22composite+mode%22
--
This answer is provided by 1T3XT BVBA
-------------------------------------------------------------------------
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
Buy the iText book: http://itext.ugent.be/itext-in-action/