Futura字体不在firefox中呈现

时间:2012-11-07 20:36:06

标签: wordpress fonts font-face generator

我在firefox上显示特定的futura字体时遇到问题。

实际上我使用了5种futura字体,但我遇到了其中一种问题:

@font-face {
            font-family: 'FuturaLT-CondensedBold';
            src: url('fonts/futuraltcondensedbold.eot');
            src: url('fonts/futuraltcondensedbold.eot?#iefix') format('embedded-opentype'),
                     url('fonts/futuraltcondensedbold.woff') format('application/x-font-woff'),
                     url('fonts/futuraltcondensedbold.ttf') format('truetype'),
                     url('fonts/futuraltcondensedbold.svg#futuraltcondensedbold') format('svg');
            font-weight: normal;
            font-style: normal;
    }
@font-face {
                font-family: 'FuturaLT-Bold';
                src: url('fonts/futuraltbold.eot');
                src: url('fonts/futuraltbold.eot?#iefix') format('embedded-opentype'),
                         url('fonts/futuraltbold.woff') format('application/x-font-woff'),
                         url('fonts/futuraltbold.ttf') format('truetype'),
                         url('fonts/futuraltbold.svg#futuraltbold') format('svg');
                font-weight: normal;
                font-style: normal;
        }

@font-face {
                font-family: 'FuturaBT-LightCondensed';
                src: url('fonts/futura-ltcn-bt-light.eot');
                src: url('fonts/futura-ltcn-bt-light.eot?#iefix') format('embedded-opentype'),
                         url('fonts/futura-ltcn-bt-light.woff') format('application/x-font-woff'),
                         url('fonts/futura-ltcn-bt-light.ttf') format('truetype'),
                         url('fonts/futura-ltcn-bt-light.svg#futura-ltcn-bt-light') format('svg');
                font-weight: normal;
                font-style: normal;
        }
@font-face {
                font-family: 'FuturaBT-Medium';
                src: url('fonts/futuram.eot');
                src: url('fonts/futuram.eot?#iefix') format('embedded-opentype'),
                         url('fonts/futuram.woff') format('application/x-font-woff'),
                         url('fonts/futuram.ttf') format('truetype'),
                         url('fonts/futuram.svg#futuram') format('svg');
                font-weight: normal;
                font-style: normal;
        }

所以,我在使用font-family时遇到了问题:' FuturaLT-Bold'在Firefox中。其他人渲染得很好,但是这一个在firefox检查元素中用firebug显示为深灰色,就像字体根本不存在一样。该字体由codeandmore字体生成器转换。

我还使用以下规则更改了我的.httaccess文件:

AddType font / ttf .ttf AddType字体/ eot .eot AddType字体/ otf .otf AddType font / woff .woff

但它没有帮助...

对此有何想法?

1 个答案:

答案 0 :(得分:0)

我没有看到列出FuturaLT-Book的CSS,可能是问题所在。