On Wednesday 14 January 2004 2:55 pm, Jon Anderson wrote:
> I'm using iText to output both RTF and PDF.  When I use bold or italic
> fonts, i.e Font bold = FontFactory.getFont(FontFactory.COURIER, 10,
> Font.BOLD ), it doesn't seem to be written to the RTF file (or HTML, for
> that matter).  PDF seems to work fine.  Is this a limitation of the RTF
> writer?

Hmmm.  I actually solved this.  Apparently it was only Fonts created from the 
FontFactory that didn't have the attributes applied.  Creating new fonts by:
Font bold = new Font( Font.COURIER, 10, Font.BOLD ) works.

Jon



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to