We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox not rendering webfont in 25.0.1 on some pc

  • 2 个回答
  • 3 人有此问题
  • 6 次查看
  • 最后回复者为 JBaac

more options

I am using a webfont hosted on my website's server and it shows up perfectly in all other browsers, and in most versions of Firefox 25.0.1 on Mac and PC, except some versions of PC's are not rendering it.

I have had one of the problematic users check their "Allow pages to choose their own fonts..." and it DID NOT fix the problem.

I have added the webfont into a header design built in HYPE. Here is the webfont coding I'm using, and again, it works fine on most PC's, but at least two users are having problems:

URL to test:

Coding used:

 <meta name="viewport" content="user-scalable=yes, width=960" />
 <style>@font-face{ 
 font-family: 'bebasneue-webfont';
 src: url('http://www.artacademy.edu/css/webfont-header/bebasneue-webfont.eot');
 src: url('http://www.artacademy.edu/css/webfont-header/bebasneue-webfont.eot?#iefix') format('embedded-opentype'),
      url('http://www.artacademy.edu/css/webfont-header/bebasneue-webfont.woff') format('woff'),
      url('http://www.artacademy.edu/css/webfont-header/bebasneue-webfont.ttf') format('truetype'),
      url('http://www.artacademy.edu/css/webfont-header/bebasneue-webfont.svg#webfont') format('svg');
}</style>
I am using a webfont hosted on my website's server and it shows up perfectly in all other browsers, and in most versions of Firefox 25.0.1 on Mac and PC, except some versions of PC's are not rendering it. I have had one of the problematic users check their "Allow pages to choose their own fonts..." and it DID NOT fix the problem. I have added the webfont into a header design built in HYPE. Here is the webfont coding I'm using, and again, it works fine on most PC's, but at least two users are having problems: URL to test: *http://www.artacademy.edu/index.php Coding used: <pre><nowiki> <meta name="viewport" content="user-scalable=yes, width=960" /> <style>@font-face{ font-family: 'bebasneue-webfont'; src: url('http://www.artacademy.edu/css/webfont-header/bebasneue-webfont.eot'); src: url('http://www.artacademy.edu/css/webfont-header/bebasneue-webfont.eot?#iefix') format('embedded-opentype'), url('http://www.artacademy.edu/css/webfont-header/bebasneue-webfont.woff') format('woff'), url('http://www.artacademy.edu/css/webfont-header/bebasneue-webfont.ttf') format('truetype'), url('http://www.artacademy.edu/css/webfont-header/bebasneue-webfont.svg#webfont') format('svg'); }</style></nowiki></pre>

由cor-el于修改

所有回复 (2)

more options

Did you also make them check the gfx.downloadable_fonts.enabled pref on the about:config page to make sure that downloadable fonts are enabled.

You can also use the Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K) to check for errors and use the Fonts tab in the Inspector to check which fonts are used.

more options

I did not, and I opened my about:config in FF on my Mac, and I don't even see that preference. What is the actual preference name, or does that preference only exist on PC?