我在Firefox上顯示特定的未來字體有問題。Futura字體不在火狐中呈現
其實我用5種富利字體和我有問題,他們中的一個:
@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中顯示爲深灰色,用螢火蟲檢查元素,就像字體不存在一樣。字體被codeand轉換爲更多的字體生成器。
我也改變了我的.httaccess文件有下列規則:
將AddType字體/ TTF的.ttf 將AddType字體/ EOT .eot 將AddType字體/ OTF雜項文件 將AddType字體/ WOFF .woff
但它沒有幫助......
對此有何看法?
你解決了你的問題嗎? – KeizerBridge