Android上的印地文马拉地语字体 [英] Hindi Marathi font on Android

查看:670
本文介绍了Android上的印地文马拉地语字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这字体是最适合在马拉/印度印地文语言开发Android应用程序。我试着用曼加勒和droidsansfallback但仍话不出现,他们应该。我没有看到箱子或一些特殊字符使用上面的字体,这是很好后,但仍然不必须​​的马拉/印地文的话需要付出字母。任何帮助/指导将AP preciated。谢谢....

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....

推荐答案

由于梵文字体不是由Android的支持,你仍然可以给支持您的应用程序。

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

有关马拉字体拷贝字体文件到您的资产文件夹。然后用下面的code。

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 =任何马拉或梵文字体

Marathifont = any marathi or devanagari font

例如

Marathifont =kiran.ttf

Marathifont = "kiran.ttf"

这篇关于Android上的印地文马拉地语字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆