Question

I tried to output some Unicode text using both iText-2.1.7 and iText-5.1.3.

While Devanagari characters got stacked properly, I am unable to see Tibetan characters properly stacked.

In stead, each character is occupying a separate space. I tried with BaseFonts both ARIALUNI.TTF and TibMachUni-1.901b.ttf but without success.

Googling gave me a post of 2009 which indicated it was not readily possible then.

I am stuck in the middle of a Unicode project. I would appreciate get clues to proceed.

Was it helpful?

Solution

Currently the only Ligaturizer within iText is the ArabicLigaturizer, I'm surprised that Devanagari works for you actually.

Please see Bruno Lowagie's (the primary developer) post from earlier this year along with the post that he linked to, specifically:

None of the current iText developers understand Hindi or any other Indic language, so it's very difficult for them (if not impossible) to write such an IndicLigaturizer

Replace "Indic" with "Tibetan" or any other language that needs ligatures.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top