How to enable antialiasing when using Android Custom fonts on my App?

痴心易碎 提交于 2019-12-11 14:05:52

问题


I removed chrisjenx/Calligraphy library to use a native Font XML on Android app android official documentation.

The replace activity was simple but now te font is rendered without antialiasing, in the light fonts the difference is evident. I have used the same ttf font (lato-light.ttf).

Any help or ideas?

the top is rendered natively, the bottom is rendered with calligraphy.

the font is Lato - Light


回答1:


The only solution I have found is return back on chrisjenx/Calligraphy library.



来源:https://stackoverflow.com/questions/48683352/how-to-enable-antialiasing-when-using-android-custom-fonts-on-my-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!