Op 15/09/2013 5:08, raghuveerk schreef:
The outputstream that was returned from above method is then used to display the PDF document in browser. I am able to generate the PDF successfully.But then I will have to show few checkboxes, realizing that XMLWorker doesn't support input fields I switched to Unicode ballot box character(☐). However, the XML Worker parser ignores these characters. I have tried to copy the character itself as well as few other codes in template. Please refer to the attached template and PDF files
I looked at the PDF file (see attached screen shot) and I see that you only use Helvetica (the standard Type 1 font). As you (should) know, that font doesn't know how to draw a check box. In other words: XML Worker isn't ignoring the character, it's just that you don't provide iText with a font that knows that character.
<<attachment: screenshot.png>>
------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php