@font-face 在 Firefox 中不起作用

发布于 2024-12-20 19:08:28 字数 415 浏览 4 评论 0 原文

http://fiddle.jshell.net/JamesKyle/TKhq8/show/light /

如果您查看此页面,您可以看到我使用了 Font-Squirrel-Generate @font-face for Franchise 它似乎适用于除 Firefox 之外的所有浏览器,有什么想法可以解释为什么这是?

PS我环顾四周,仍然没有找到答案

http://fiddle.jshell.net/JamesKyle/TKhq8/show/light/

If you view this page you can see that I used a Font-Squirrel-Generated @font-face for Franchise it seems to work in every browser except Firefox, any ideas as to why this is?

PS I have looked around and still am not finding an answer

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

洒一地阳光 2024-12-27 19:08:28

您链接到位于不同主机上的字体,并且不发送正确的 CORS 标头。请参阅 https://developer.mozilla.org/En/HTTP_access_controlhttp://www.fontsquirrel.com/blog/2010/11/troubleshooting-font-face-problems

You're linking to a font that's on a different host and doesn't send the right CORS headers. See https://developer.mozilla.org/En/HTTP_access_control and http://www.fontsquirrel.com/blog/2010/11/troubleshooting-font-face-problems

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文