Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CTL (Complex Text Language) support in Android

I am trying to develop Android IME for Asia language (require complicated rendering such as changing glyph forms, reordering character order, etc). In PC, the use of GTK, Pango, Graphite is sufficient. In Android how can I solve rendering of Unicode for Complex Text Language.

Thanks in advance

like image 282
aemon Avatar asked Mar 11 '11 05:03

aemon


1 Answers

You should be using the Harfbuzz stack provided within the Android. If you look within Pango in PC, there is a shaper component called Harfbuzz. Same should exist for Android. Passing any asian language through this stack get the job done (changing glyphs, reordering etc. )

like image 192
Saurabh Sethi Avatar answered Sep 29 '22 06:09

Saurabh Sethi