Hwee Hwee wrote:

Hi all,

i need a confirmation if iText can support the following languages?

1) Japanese
2) Simplified Chinese
3) Traditional Chinese
4) Thai
5) Tamil
6) Vietnamese

I know CJK can support #1 - #3 but what about #4 - #6?

Please take a look at this XML file: http://www.lowagie.com/iText/gallery/pace.xml
It is an XML with the word PEACE in 100+ languages.
Now look at: http://www.lowagie.com/iText/gallery/pace.pdf
The XML was parsed into PDF using iText.
(This is one of the examples I prepared for the book on iText.)

As you can see, Thai, Tamil and Vietnamese are supported.

BUT there are 2 caveats:
(1) for some languages like Khmer, the glyphs don't appear in the PDF.
This is because the XML contains the words in UNICODE and
iText can only show the characters if you have a font that contains the
unicode characters. For instance: to display Cherokee, I had to look
for a special ttf file.
(2) the words in some languages, like Hindi are spelled wrong.
This is because iText shows you the characters as they appear in the XML.
iText doesn't do ligaturizing for Indic languages, only for Arabic.
(If somebody feels like writing an IndicLigaturizer, I'd be happy to add it to iText.)

Notice that I didn't use CJK fonts, instead I used embedded true type fonts.
br,
Bruno


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to