Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hindi language support for Android - text shows up as boxes

Does android in eclipse emulator support hindi fonts? I see Square boxes like ☐ instead of characters अ आ इ ई उ ऊ on Emulator and on Unicode or UTF8 compliant Hindi websites. Any settings for solving the issue?

like image 725
Dominic Avatar asked Jul 20 '11 08:07

Dominic


People also ask

Why do I see boxes instead of text in Android?

Because the font that the app is trying to use is not present on the system, some other font gets used to display the text instead, and that font may not support all of the characters being displayed.

How can I type Hindi font in Mobile?

To get going, download the app from Google Play, go to your phone's 'Settings' menu and enable 'Google Hindi Input' in the 'Language & input' section. Once enabled, you can choose to type in Hindi.

How do you get the font box on Android?

Tap the “Preferences” icon. Scroll down and select “Personalization”. Tap on “Font”. Choose “Select Font” to determine the fonts on Android preferred.


2 Answers

This might help you

use custom TrueType fonts by copying the .ttf file into your projects's 'assets' folder.

Then in your application you can use the font like this;

final Typeface customF = Typeface.createFromAsset(this.getAssets(), "custom.ttf");
final TextView textV = (TextView) findViewById(...);
textV.setTypeface(customF);
like image 54
Avi Dhiman Avatar answered Nov 05 '22 14:11

Avi Dhiman


My hunt for Hindi font in my Android phone LG-P500),

I found some useful tips which I would like share with you all hindi lover. I tried it in opera mini and it is showing Hindi. I also trying hind keypad but still unable write hindi if anybody have any information please share it ..

Hindi reading method in opera mini 1 - First install latest version of "Opera Mini" on Android powered tablet or phone which is available free on Android Market. Otherwise go to official site of opera. (Read about Opera Mini & download) 2 - After that go to address bar & type opera:config and nothing should have www or http://. 3. Then come to the menu & at its end see "use bitmap fonts for complex scripts". No sentence will be written in front of. You change it to Yes. 4. Save it. Now Open any Hindi site and see hindi font on your mobile / tablet instead of square font.

Your can try the following also… Install Hindi font (including all Indian language) as system font - go this link:- http://android-bucket.blogspot.com/2011/07/hindi-font-installation-for-advance.html (Only for Advance users)

like image 25
GS Bisht Avatar answered Nov 05 '22 12:11

GS Bisht