How to add fonts into Asset Studio that's part of Android Studio?

孤街醉人 提交于 2020-03-05 03:07:51

问题


I am trying to create a very simple app launcher icon in text via Asset Studio. I'd like to know how could I add my own font in the Source Asset menu located in the the Foreground Layer tab?

I'm doing this for an Udacity course project, I am a complete newbie.


回答1:


Asset Studio takes the fonts from the system. So the fonts you are seeing are the fonts you have installed. To add another font, just install the font.

On Windows, open the font file and it should give you the option to install (at least it works for .ttf files, other formats are different). If you use a different OS, you'll have to look up the font installation instruction




回答2:


you can put your font file with ttf format into your project asset folder \font.



来源:https://stackoverflow.com/questions/48972345/how-to-add-fonts-into-asset-studio-thats-part-of-android-studio

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