字体真棒显示亚洲标志而不是图标 [英] Font awesome showing asian signs instead of icons

查看:168
本文介绍了字体真棒显示亚洲标志而不是图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用字体真棒,而不是任何图标,只是显示任何亚洲的迹象。我通过网络服务器为此下载了一个字体。我试过3种不同的浏览器(firefox,opera和chromium),但它总是一样的。



可以在这里看到一个测试页面: http://2weitweitweg.de/test.html



这是一个截图: http://postimg.org/image/9yh5p0p97/



是否在浏览器中显示标志?问题是浏览器还是服务器相关?如何解决这个问题?



bye

解决方案

问题,这是因为我使用旧的HTML与新的 fontawesome 版本。



我修改了它:

 < i class =fa-bitbucket><< ; / I> 



 < i class =fa fa-bitbucket>< / i> 

我只需要添加默认的 fa 类到元素。



最新版本使用 fa 前缀,但对你来说,我想它可能是图标而不是。



希望这可以帮助某人在某个阶段: - )


i'm trying to use Font Awesome but instead of any icons it just displays any asian signs. I downloaded font awsome to by webserver for that. I tried this in 3 different browsers (firefox, opera and chromium) but it is always the same.

A testpage can be seen here: http://2weitweitweg.de/test.html

And here is a screenshot of it: http://postimg.org/image/9yh5p0p97/

Does it show the signs in your browser? Is the problem browser- or server-related? How can i fix it?

bye

解决方案

I had this problem and it was because I was using old html with a new fontawesome version.

I fixed it by changing:

<i class="fa-bitbucket"></i>

to:

<i class="fa fa-bitbucket"></i>

I.e. I just had to add the default fa class to the element.

The latest version uses the fa prefix but for you, I guess it might be icon instead.

Hope this helps someone out at some stage :-)

这篇关于字体真棒显示亚洲标志而不是图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆