如何将字体添加到Android Studio中的Asset Studio中?

问题描述:

我正在尝试通过Asset Studio在文本中创建一个非常简单的应用启动器图标. 我想知道如何在前景层"选项卡的源资产"菜单中添加自己的字体?

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?

我正在做一个Udacity课程项目,我是一个完整的新手.

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

Asset Studio从系统中获取字体.因此,您所看到的字体就是您已安装的字体.要添加其他字体,只需安装该字体.

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.

在Windows上,打开字体文件,它应该为您提供安装选项(至少适用于.ttf文件,其他格式不同).如果您使用其他操作系统,则必须查找字体安装说明

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