Web字體在Firefox中無法正確呈現。它適用於Chrome瀏覽器。Firefox不支持font-face
下面是我的CSS代碼,
@font-face {
font-family: 'DINm';
src: url('http://www.themediaverse.com.au/wp-content/themes/themediaverse/assets/fonts/DINWeb-Medium.eot');
src: url('http://www.themediaverse.com.au/wp-content/themes/themediaverse/assets/fonts/DINWeb-Medium.eot?#iefix') format('embedded-opentype');
src: url('http://www.themediaverse.com.au/wp-content/themes/themediaverse/assets/fonts/DINWeb-Medium.woff') format('woff');
src: url('http://www.themediaverse.com.au/wp-content/themes/themediaverse/assets/fonts/DINComp-Medium.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
我在下面網址提到, CSS Font-Face url not working?
我怎樣才能解決這個問題呢?
謝謝。
謝謝@Boris。我發現來自螢火蟲的「不良URI或跨網站存取不允許」警告訊息。我已將security.fileuri.strict_origin_policy屬性中的值更改爲false(來自上述鏈接)。但它不起作用。 – sprabhakaran
該首選項僅影響file:// URI。同樣,你想要「發佈網站」位。 –