在Android应用程序中可以使用哪些波斯字体

时间:2015-11-06 10:02:08

标签: android fonts persian

我有一个具有教育背景的应用程序我想使用适当的波斯字体进行阅读。我如何知道可以使用哪些字体? (我的意思是,我不想下载外部的)并且任何人都可以为教育背景建议一个好的波斯字体吗?

3 个答案:

答案 0 :(得分:2)

您好,您可以根据您要查找的视图自定义字体从Internet下载字体并将其放在assets / fonts文件夹下。

  tv1=(TextView)findViewById(R.id.textView3);
  tv2=(TextView)findViewById(R.id.textView4);

  Typeface face= Typeface.createFromAsset(getAssets(), "font/font.ttf");
  tv1.setTypeface(face);

  Typeface face1= Typeface.createFromAsset(getAssets(), "font/font1.ttf");
  tv2.setTypeface(face1);

答案 1 :(得分:1)

"诺托"是其他语言的标准字体。 你可以找到" Noto" - https://www.google.com/get/noto/

答案 2 :(得分:0)

" Droid Arabic Naskh"很好,也支持波斯语。