本地字体不能言"&QUOT - 使用自定义字体时的问题 [英] Issue when using a custom font - "native typeface cannot be made"

查看:535
本文介绍了本地字体不能言"&QUOT - 使用自定义字体时的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用的字体,我发现在互联网上,但问题是,我得到了原生字体无法进行的FC。

I'm trying to use a font I found on the internet, but the problem is that I get an FC with "native typeface cannot be made".

下面是code在我的ListView的getView:

Here is the code in the getView of my ListVIew:

        holder.tv_SuraName   =(TextView)convertView.findViewById(R.id.Start_Name);
        holder.tv_SuraName.setTypeface(Typeface.createFromAsset(mContext.getAssets(), "suralist_font.ttf"));

谁能告诉我为什么我可以使用自定义ROM?你可以得到它这里 ..该文件的.ttf

Can anyone tell me why can I use the custom rom? You can get it HERE .. the file is .ttf

推荐答案

字体文件损坏或不支持的某些原因。你可以把它在SD卡上并加载它从文件,以确保它不是一个问题,你的资产。

The font file is either corrupt or unsupported for some reason. You can drop it on the SD card and load it from file, to make sure it's not a problem with your assets.

这篇关于本地字体不能言"&QUOT - 使用自定义字体时的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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