搜尋 Mozilla 技術支援網站

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

了解更多

Fonts downloaded more than once

more options

I'm a web developer and I have an issue where in FireFox 31.0 will download fonts listed in the "@font-face" css document will be downloaded 2-3 times on page load causing all the text on the screen to flicker a few times. Any ideas how to fix it?

Here is the css style in question. @font-face {

 font-family: 'Ubuntu';
 font-style: normal;
 font-weight: 300;
 src: local('Ubuntu Light'), local('Ubuntu-Light'), url(fonts/Ubuntu-Light.woff) format('woff');

}

I'm a web developer and I have an issue where in FireFox 31.0 will download fonts listed in the "@font-face" css document will be downloaded 2-3 times on page load causing all the text on the screen to flicker a few times. Any ideas how to fix it? Here is the css style in question. @font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 300; src: local('Ubuntu Light'), local('Ubuntu-Light'), url(fonts/Ubuntu-Light.woff) format('woff'); }

所有回覆 (3)

more options
more options

Do you know whether this is a new problem in Firefox 31 or was present in earlier versions?

For testing that, you can try using older "Portable" builds of Firefox from: http://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./ (these run out of a folder without disturbing your main installation of Firefox)

more options

Is it possible to link to a page that has this problem?