Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] "Book Antiqua" Font in RTF

Mark Hall

2005-06-27

Replies:

On Monday 27 June 2005 15:56, Sujatha Bharathan wrote:
> FontFactory.getFont("Book Antiqua", 18, 1);
>          Paragraph parebus=new Paragraph(new
> Chunk("Test font display", paraFont));
>          document.add(parebus);
You need to use the RtfFont class as specified here:
http://itextdocs.lowagie.com/tutorial/rtf/#extendedfont

Greetings,
Mark
--
Black Holes:
 An X generation subgroup best known for their possession of
almost entirely black wardrobes.
   -- Douglas Coupland, "Generation X: Tales for an Accelerated
     Culture"

My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
©2008 junlu.com - Jax Systems, LLC, U.S.A.