Hi, I found out from the font file that i have to give "Book Antiqua".. In my program i am using it like this... com.lowagie.text.Font paraFont = FontFactory.getFont("Book Antiqua", 18, 1); Paragraph parebus=new Paragraph(new Chunk("Test font display", paraFont)); document.add(parebus); But the font is not displayed in book antiqua ..it is displayed in times new roman...moreover i am specifying the font size as 18 and it is displayed as 12.. Please let me know why is it happening like that...
--- Bruno Lowagie <[EMAIL PROTECTED]> wrote: > Sujatha Bharathan wrote: > > >Hi all, > > > > I want to use Book antiqua font throughout my RTF > >document generated using iText. > > I am using FontFactory for the font required. > >It supports only Courier,Times_roman and helviteca. > > > > Can anybody tell me how to change the font to book > >antiqua.. > > > > > Mark Hall wrote a tutorial entry about this: > http://itextdocs.lowagie.com/tutorial/rtf/#extendedfont > I guess you will have to make sure you are using the > correct name of the > Book Antiqua font. > br, > Bruno > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions