Resolved : Hindi Language Text showing boxes in Android Emulator

First of all you need to supply external font to your application generally it’s kruti ttf or vigyapti-hindi ttf files. put it in asset folder and then try following code.

Typeface hindiTypeFace = Typeface.createFromAsset(getAssets(), "kruti.ttf");
TextView myTextView = (TextView)findViewById(;

it won’t be reflected on your eclipse screen you have to run in emulator to check effect. and even if in emulator if you are facing the same problem and getting square boxes instead of text make sure you are running 2.3.3 + android OS because lower than that won’t be completible with hindi fonts.

Please read for details reference.

Also putting new fonts in root i.e. in platforms/android9/data/fonts folder and create new avd may work in some of the cases. but I didn’t get success though.

2 Responses to Resolved : Hindi Language Text showing boxes in Android Emulator

  1. raj kumar says:

    thanks for this nice article ……………………….its really very good information

  2. Dan Martin says:

    I really like your layout

Leave a Reply

Your email address will not be published.