文本视图中的乌尔都语字体 [英] Urdu font in textview
本文介绍了文本视图中的乌尔都语字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已在 textview 中设置了 urdu 并应用了 urdu 字体,但只显示像 بہن
之类的逐字逐句
i have set urdu in textview and apply urdu typeface but is only showing word by word like ب ہ ن
这里是代码:
Typeface tf1 = Typeface.createFromAsset(this.getAssets(), "Urdu.ttf");
TextView textView = (TextView)findViewById(R.id.textView1);
textView.setTypeface(tf1);
textView.setText("یہ انگریزی نہیں");
推荐答案
Asaalam-o-alakum比比田平你可以从这个链接下载urdu字体,我已经测试过了.
Asaalam-o-alakum bibi Tahira You can downlaod urdu Font from this link,i have tested it.
谢谢
这篇关于文本视图中的乌尔都语字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文