We are reading a text file and converting to a PDF file ,every thhing looks good expect the footer text is coming in bold
while (fRead.read() != -1) { String str=bRead.readLine(); Paragraph para=new Paragraph(); Paragraph para1=new Paragraph(); para.setFont(FontFactory.getFont(FontFactory.COURIER,12)); doc.add(para); and below is the code to add footer PdfPTable foot = new PdfPTable(1); Paragraph para=new Paragraph(); para.setFont(FontFactory.getFont(FontFactory.TIMES,8)); para.setAlignment(1); para.add("https://footer/pdf"); PdfPCell cell = new PdfPCell(para); cell.setHorizontalAlignment(Element.ALIGN_RIGHT); cell.setBorder(0); foot.addCell(cell); foot.setTotalWidth(((doc.getPageSize().getWidth() - doc.leftMargin())- doc.rightMargin())); foot.writeSelectedRows(0, -1, doc.leftMargin()-15, doc.topMargin()-20,pdfWriter.getDirectContentUnder()); Not sure why the text is getting printed in Bold ,any solution to print the text in footer not in bold -- View this message in context: http://www.nabble.com/Issue-with-Footer-tp25491948p25491948.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/