Kurapati Venkata, Sudhir wrote: > I am using itext to generate letters in my application. Also > successfully managed to generate mails in English (using chunk and > paragraph). > Now I got a requirement to generate the same letter in different > languages like Chinese. I do not think that I can replace the English > text with Chinese.
Why not? Have a look at this XML: http://itext.ugent.be/itext-in-action/examples/chapter09/resources/peace.xml It contains Chinese, Japanese, Arabic, Ancient Greek,... And iText is used to convert it to a PDF like this: http://itext.ugent.be/itext-in-action/examples/chapter09/results/peace.pdf The PDF shows some errors: Hindi isn't rendered correctly, because there's no HindiLigaturizer in iText. Some glyphs are not shown, because there was no font provided that supports the unicode characters that were used (otherwise the glyphs would have been showed correctly). But as you can see: the Chinese word for Peace is rendered correctly (as I am told, I don't understand Chinese). br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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/
