我为我的应用程序使用自定义字体。代码集成起来非常简单:
Typeface tf = Typeface.createFromAsset(getApplicationContext().getAssets(),
"fonts/PermanentMarker.ttf");
textview.setTypeface(tf);
但是我的一些 TextView 有瑕疵:http://desmond.imageshack.us/Himg11/scaled.php?server=11&filename=screenshot2012050621514.png&res=landing
我真的不知道它是从哪里来的。你有什么想法吗?
最佳答案
错误来自硬件加速。当强制 TextView 使用软件渲染时,一切都变得很好。
关于android - 自定义字体显示 Artifact ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10473794/