搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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?