CTL (Complex Text Language) support in Android
Asked Answered
O

2

6

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

Oringa answered 11/3, 2011 at 5:17 Comment(0)
L
2

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. )

Landlord answered 12/9, 2011 at 13:39 Comment(0)
M
0

If you can use NDK, you can use harfbuzz and freetype together. without any dependencies. Otherwise you can stick to the Android drawText method which is provided by Canvas class.

Muro answered 19/6, 2017 at 20:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.