本文介绍了FontAwesome - 无法解码下载的字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现已经是这样:

但是答案不能帮我解决我的问题= /

But the Answers dont help to fix my problem =/

我在我的页面上在控制台中出现此错误:

I got on my page this errors in console:

Failed to decode downloaded font: http://devcomlink.kunena.dev-monkeys.com/components/com_kunena/template/devcomlink/fonts/font-awesome/fontawesome-webfont.woff2
    index.php?option=com_kunena&view=category&layout=list&Itemid=129&templateStyle=9:1 Failed to decode downloaded font: http://devcomlink.kunena.dev-monkeys.com/components/com_kunena/template/devcomlink/fonts/font-awesome/fontawesome-webfont.woff
    index.php?option=com_kunena&view=category&layout=list&Itemid=129&templateStyle=9:1 Failed to decode downloaded font: http://devcomlink.kunena.dev-monkeys.com/components/com_kunena/template/devcomlink/fonts/font-awesome/fontawesome-webfont.ttf

我的网页的网址:

icon totaly dont load ...

in Firefox and IE11 the icons totaly dont load...

有人知道我该如何解决这个问题吗?

Have anyone a idea how i can fix this?

推荐答案

问题不在于您的 HTML CSS 代码...它必须与字体文件

The problem isn't with your HTML or CSS code... It must be with the font files or the server,

,因为正常的字体文件应包含代码,可以在浏览器中打开时下载,如下所示:

because normal font files should contain codes and can be downloaded when opened in browser like this : http://fortawesome.github.io/Font-Awesome/assets/font-awesome/fonts/fontawesome-webfont.eot?v=4.3.0

虽然文件看起来没有任何代码,下载:

While your files looks empty without any code even when downloaded: http://devcomlink.kunena.dev-monkeys.com/components/com_kunena/template/devcomlink/fonts/font-awesome/fontawesome-webfont.eot?v=4.3.0

尝试替换文件...

这篇关于FontAwesome - 无法解码下载的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 23:07