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!

搜尋 Mozilla 技術支援網站

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

了解更多

Font Face src Problem with Icomoon

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 yutonet

more options

Hi, There is an issue with icomoon fonts with the new Firefox. Firefox seems to be ignoring the actual glyphs and replacing them with some other (maybe built-in) icons. This problem wasn't existent before the big Firefox update.

You can see this in the screenshot attached (icons on the top right were supposed to be social network icons e.g. facebook instagram etc.) The web page mentioned is accessible at http://ordaf.org/

The problem is about the url of the font file being altered. Here's the font-face css code for the web page: @font-face {

   font-family: icomoon;
   src: url(fonts/icomoon.eot);
   src: url(fonts/icomoon.eot#iefix) format('embedded-opentype'), url(fonts/icomoon.ttf) format('truetype'), url(fonts/fonts/icomoon.woff) format('woff'), url(fonts/icomoon.svg#icomoon) format('svg');
   font-weight: 400;
   font-style: normal

}

And this is what I get on the developer tools: @font-face {

 font-family: "icomoon";
 font-style: normal;
 font-weight: 400;
 src: url("moz-extension://8eaa4596-3cd0-4168-bee4-6708c37d8684/fonts/icomoon.ttf?gbkn1h") format("truetype"), url("moz-extension://8eaa4596-3cd0-4168-bee4-6708c37d8684/fonts/icomoon.woff?gbkn1h") format("woff"), url("moz-extension://8eaa4596-3cd0-4168-bee4-6708c37d8684/fonts/icomoon.svg?gbkn1h#icomoon") format("svg");

}

Looking forward for a workaround for this, since the webpage is owned by me and I faced this problem with some other pages I've been working on.

Hi, There is an issue with icomoon fonts with the new Firefox. Firefox seems to be ignoring the actual glyphs and replacing them with some other (maybe built-in) icons. This problem wasn't existent before the big Firefox update. You can see this in the screenshot attached (icons on the top right were supposed to be social network icons e.g. facebook instagram etc.) The web page mentioned is accessible at http://ordaf.org/ The problem is about the url of the font file being altered. Here's the font-face css code for the web page: @font-face { font-family: icomoon; src: url(fonts/icomoon.eot); src: url(fonts/icomoon.eot#iefix) format('embedded-opentype'), url(fonts/icomoon.ttf) format('truetype'), url(fonts/fonts/icomoon.woff) format('woff'), url(fonts/icomoon.svg#icomoon) format('svg'); font-weight: 400; font-style: normal } And this is what I get on the developer tools: @font-face { font-family: "icomoon"; font-style: normal; font-weight: 400; src: url("moz-extension://8eaa4596-3cd0-4168-bee4-6708c37d8684/fonts/icomoon.ttf?gbkn1h") format("truetype"), url("moz-extension://8eaa4596-3cd0-4168-bee4-6708c37d8684/fonts/icomoon.woff?gbkn1h") format("woff"), url("moz-extension://8eaa4596-3cd0-4168-bee4-6708c37d8684/fonts/icomoon.svg?gbkn1h#icomoon") format("svg"); } Looking forward for a workaround for this, since the webpage is owned by me and I faced this problem with some other pages I've been working on.

由 yutonet 於 修改

被選擇的解決方法

OK got it. This is related to the WX Download Status Bar plugin somehow. https://addons.mozilla.org/en-US/firefox/addon/wx-download-status-bar/

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

Please see :

Why not use Font Awsome, less hassel :

Please let us know if this solved your issue or if need further assistance.

more options

Firefox altering the font sources in CSS has nothing to do with icomoon, and icomoon is quite different than fontawesome by concept.

more options

選擇的解決方法

OK got it. This is related to the WX Download Status Bar plugin somehow. https://addons.mozilla.org/en-US/firefox/addon/wx-download-status-bar/