Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hindi character view different on different devices

Tags:

I am implementing multi-lingual (French, Chinese, Hindi....etc) functionality. As Hindi language does not support back compability (below 4.0 ICS), I forced localization using Typeface(akshar.ttf). While testing my setup out with Hindi, I came across a critical condition see the image below:

In this string I'm using अब स्क्रीन शुरू करें(Now, I start the screen) and उपयोगी लिंक्स (Useful links)

Supported devices: Samsung ACE, Samsung S Plus, Galaxy 551 enter image description here

Non-supported devices: Samsung Galaxy S2, HTC Nexus One, HTC Incredible S enter image description here

Any idea why this is happening?

like image 349
Mohammed Azharuddin Shaikh Avatar asked Sep 26 '12 05:09

Mohammed Azharuddin Shaikh


1 Answers

The problem is you cant directly put a hindi font inside where as we need to convert it to unicode and put that. We came up with the same issue and we acheived it by using unicodes instead of fonts.

like image 105
suresh Avatar answered Oct 08 '22 00:10

suresh