I used ICU-C 3.6 and 3.8.d02 versions and none of them return correct indexes for some glyphs in Telugu. To test it I used "Sample/layout" program which is delivered with ICU-C source code. I compared it with OpenOffice and interesting thing is OO uses the ICU-C 3.6 as well but the text written there is correct. I suppose that there are some patches for this.
I used fonts such as:
- Gautami
- TLOT-Hemalatha Normal
- TLOT-Hemalatha Italic
- TLOT-Hemalatha Bold
- TLOT-Hemalatha Bold Italic
- and many others
For all these fonts ICU returns inappropriate last index glyph. Below I put the sequence of unicodes which I input to achieve wrong results this is:
U+0C2A;U+0C4D;U+0C30;U+0C15;U+0C3E;U+0C37;U+0C4D;
according to UNICODE standards they are:
0C2A;TELUGU LETTER PA;Lo;0;L;;;;;N;;;;;
0C4D;TELUGU SIGN VIRAMA;Mn;9;NSM;;;;;N;;;;;
0C30;TELUGU LETTER RA;Lo;0;L;;;;;N;;;;;
0C15;TELUGU LETTER KA;Lo;0;L;;;;;N;;;;;
0C3E;TELUGU VOWEL SIGN AA;Mn;0;NSM;;;;;N;;;;;
0C37;TELUGU LETTER SSA;Lo;0;L;;;;;N;;;;;
0C4D;TELUGU SIGN VIRAMA;Mn;9;NSM;;;;;N;;;;;
I attached:
- FontMap.GDI, Sample.txt - input for "Sample/layout" program
- LayoutSample.PNG - final text rendering by using "Sample/layout" program (incorrect)
- OpenOffice.PNG - final text rendering by using OpenOffice (correct)