FTCube
FTCube

Reputation: 21

Incorrect characters displayed for Tamil font in android(Latha.ttf)

I need to use tamil on textviews in my app so I create a TypeFace from assets and set it to the textview, but the characters appear out of order(mixed) for combined characters. I load the strings from the resources.(string.xml in utf-8 encoding) How to solve this issue?

Upvotes: 1

Views: 2204

Answers (2)

Jaya Mayu
Jaya Mayu

Reputation: 17257

use fonts like "Bamini.ttf" else some TSCII fonts. It works fine for me. It should work for you too.

Upvotes: 1

FTCube
FTCube

Reputation: 21

Currently android does not have a tamil font Shaping Engine. So have to manually reorder the characters based on the tamil language rules.

Upvotes: 1

Related Questions