我发现了这个:
https://stackoverflow.com/search?q=Failed+to+decode+downloaded+font
但答案没有帮助解决我的问题= /
我在控制台上看到了这个错误:
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
在Firefox和IE11中,图标总是不加载…
有谁知道如何解决这个问题?
解决方法
问题不在于你的HTML或CSS代码……必须是字体文件或服务器,
因为普通的字体文件应该包含代码,并且可以在浏览器中打开时下载,如下所示:http://fortawesome.github.io/Font-Awesome/assets/font-awesome/fonts/fontawesome-webfont.eot?v=4.3.0
虽然您的文件看起来是空的,即使下载时也没有任何代码:http://devcomlink.kunena.dev-monkeys.com/components/com_kunena/template/devcomlink/fonts/font-awesome/fontawesome-webfont.eot?v=4.3.0
尝试替换文件……