如何仅从Font Awesome安装必需的字体? [英] How to install only required fonts from Font Awesome?
问题描述
我会使用Font Awesome中的几个图标.
I would to use a couple of icons from Font Awesome.
我看到我们可以下载整个字体真棒目录,并使用<i class="fa fa-camera-retro"></i>
这样的简单代码,并使用fa-camera-retro
显示图标.
I see that we can download the entire font-awesome directory and use simple code like <i class="fa fa-camera-retro"></i>
and use fa-camera-retro
to display the icons.
我可以只下载将要使用的字体吗?
Is it possible for me to download only the fonts I will be using?
对于上面的示例,如果我仅使用<i class="fa fa-camera-retro"></i>
,fa-camera-retro
,我想通过仅使用与此图标相关的文件来减小目录大小.
For the above example if I am using only <i class="fa fa-camera-retro"></i>
, fa-camera-retro
, I would like to reduce the directory size by only using the files related to this icon.
推荐答案
也许这会有所帮助: fontello
Perhaps this helps: fontello
fontello使您可以选择图标并编译自己的版本
fontello lets you choose your icons and compile your own version
这篇关于如何仅从Font Awesome安装必需的字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!