字体真棒图标丢失 [英] Font-awesome icons are missing

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

问题描述

我想设计一个使用html5和bootstrap的网站.在我的html代码中,我需要字体超赞的图标,但是当我将font-awesome.min.css和相应的字体放进去时,却无法将字体超赞的图标加载到我的网站上页面.检查该页面时,我的控制台上出现以下错误和警告.

I want to design a website using html5 and bootstrap.In my html code I need font-awesome icons.But when I put font-awesome.min.css and corresponding fonts but i could not load the font awesome icons to my page.When inspect that page I get the following errors and warning on my console.

downloadable font: download failed (font-family: "Roboto" style:normal weight:normal stretch:normal src index:0): bad URI or cross-site access not allowed source: http://[::1]/futuroit/userasset/css/Fonts/Roboto/regular.ttf  style.css:9:1
downloadable font: download failed (font-family: "Roboto" style:normal weight:300 stretch:normal src index:0): bad URI or cross-site access not allowed source: http://[::1]/futuroit/userasset/css/Fonts/Roboto/roboto-light.ttf  style.css:46:1

downloadable font: download failed (font-family: "FontAwesome" style:normal weight:normal stretch:normal src index:1): bad URI or cross-site access not allowed source: http://[::1]/futuroit/userasset/fonts/fontawesome-webfont.woff?v=4.2.0  font-awesome.min.css:4:14
downloadable font: download failed (font-family: "Open Sans" style:normal weight:bold stretch:normal src index:0): bad URI or cross-site access not allowed source: http://[::1]/futuroit/userasset/css/Fonts/Open%20Sans/OpenSans-Regular.ttf

请任何人帮助我解决此问题

please anyone help me to solve this issue

推荐答案

地址错误(或)配置设置丢失通过直接在浏览器中检查您的地址来验证您的地址,或者简单地将源地址放入并引用路径.请在firefox上参考此可下载字体:不允许错误的URI或跨站点访问

Either address is wrong (or) configuration setting is missing verify your address by checking it directly on the browser or simply put the source and refer the path. refer this Downloadable font on firefox: bad URI or cross-site access not allowed

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

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