rs wrote: > Our application accepts data in multiple languages from users. Some of this > data is used to populate some predefined pdf forms. > > Since input data can be any language (english, french, spanish, chinese, > etc.) I am not sure what is the best way to ensure that all data get > rendered properly in form. > > I did some workaround like embedding ARIALUNI.TTF in pdf and rendering > fields using this font. This trick works but problem is that size of this > font is around 22MB and hence embedding it makes resulting file huge.
Please read chapter 8 of the 2nd edition of "iText in Action". Section 8.2.3 entitled "Text fields and fonts" discusses the problem you describe. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ 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/
