Venkat Tubati wrote: > In this code, if assigned some fonts(like: MornotypeCorsiva) it is > assigning to the default font style(Helvetica). > > where i need to change my code please let me know.
When you need a BaseFont (for instance for use in PdfContentByte), try creating the BaseFont object with BaseFont.createFont() and provide the correct path to the font program. Chances are the font program MornotypeCorsiva (which by the way should probably be MonotypeCorsiva) is not found in which case the default font is returned by the FontFactory. br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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/
