问题
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