문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top