And*_*ler 7 css firefox css3 font-face
我有Museo-300主要使用@ font-face,但某些字母组合如"ff"和"fi"在Firefox中消失(在v3.6和v7.0.1中确认).所以"小额信贷"变成"微量".
请注意,我将这些输出为单个字母,而不是连字.当我在服务器和浏览器上查看源时,例如"coffee"拼写为所有六个字母 - 而不是"ff"的unicode连字符.
输出看起来在Opera,Chrome,Safari和IE(甚至是IE6)中都是正确的.
我从MyFonts下载了Museo-300及其网络字体示例模板.
@font-face {
font-family: 'Museo-300';
src: url('webfonts/151B6C_0.eot');
src: url('webfonts/151B6C_0.eot?#iefix') format('embedded-opentype'),url('webfonts/151B6C_0.woff') format('woff'),url('webfonts/151B6C_0.ttf') format('truetype'),url('webfonts/151B6C_0.svg#wf') format('svg');
}
Run Code Online (Sandbox Code Playgroud)
并且所有引用的文件都已到位.我像这样调用它:
font-family: 'Museo-300', sans-serif;
Run Code Online (Sandbox Code Playgroud)
我尝试了一种不同的字体作为测试(Code Pro Light Demo,也来自MyFonts),Firefox下载了"fi"而不是"ff".
想法出了什么问题?
对于将来阅读此内容的任何人,请注意,从FF 15开始(我认为)语法现在已经改变,您需要使用它:
-moz-font-feature-settings: "liga=0";
-moz-font-feature-settings: "liga" 0;
Run Code Online (Sandbox Code Playgroud)