1

which font is most suitable for Android application developed in Marathi/ Hindi indian language. I tried with mangal and droidsansfallback but still the words dont appear as they should. I don't see the boxes or some special characters after using above font which is good, but still the marathi/hindi words doesnt have exacts alphabets. Any help/guidance will be appreciated. Thanks....

user12345
  • 261
  • 3
  • 14

3 Answers3

1

As Devanagari fonts are not supported by Android, you can still give that support to your Application.

For Marathi font copy font file to your asset folder. then use the following code.

 TextView text_view = new TextView(this);
 Typeface font = Typeface.createFromAsset(getAssets(), MarathiFont);
 text_view.setTypeface(font);
 text_view.setText("मराठी");

the same way u can give support for hindi....

Marathifont = any marathi or devanagari font

e.g

Marathifont = "kiran.ttf"

  • 1
    where to get Marathifont.ttf from, that way I have used Droidsansfallback.ttf but it doesnt recognise marathi characters that well. – user12345 May 25 '12 at 00:34
0

Devnagari fonts are not supported in older devices. You can replace the default font after rooting the device. mangal font worked pretty well for me.

Fontoosh can be helpful for installing devnagari font or replacing the font.

darshanz
  • 402
  • 3
  • 11
0

I think you should use Google Noto Fonts. Just search for Hindi/Marathi and you will get fonts for it.
Noto Sans Devanagari is good.

Chintan Shah
  • 1,744
  • 2
  • 26
  • 28