字体在Firefox中无法正确显示

时间:2013-12-04 12:39:10

标签: css firefox fonts

我们的Wordpress主题使用的字体montserrat在Chrome,IE和Safari中正确显示,但在Firefox中没有显示。这是造型:

@font-face {
    font-family: 'montserratbold';
    src: url('./fonts/montserrat-bold-webfont.eot');
    src: url('./fonts/montserrat-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('./fonts/montserrat-bold-webfont.woff') format('woff'),
         url('./fonts/montserrat-bold-webfont.ttf') format('truetype'),
         url('./fonts/montserrat-bold-webfont.svg#montserratbold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'montserratregular';
    src: url('./fonts/montserrat-regular-webfont.eot');
    src: url('./fonts/montserrat-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('./fonts/montserrat-regular-webfont.woff') format('woff'),
         url('./fonts/montserrat-regular-webfont.ttf') format('truetype'),
         url('./fonts/montserrat-regular-webfont.svg#montserratregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

该网站可通过http://www.poolerunners.org用户名访问:示例密码:例如,它可能会要求您输入两次。

由于

亚历

1 个答案:

答案 0 :(得分:2)

由于需要授权,字体未在FF中加载。您应该检查Web服务器的配置。

enter image description here

相关问题