Mac上的Firefox 3.5和@ font-face

use*_*181 6 macos firefox font-face

我遇到了@ font-face的问题.它实际上在Safari,Internet Explorer 7+和Firefox for Windows上完美运行,但在firefox for mac上完全没有.

我正在使用防弹@ font-face文章中的代码

这是我的代码:

@font-face {
    font-family: "QlassikMediumRegular";
    src: url("../fonts/Qlassik_TB.eot");
    src: local("Qlassik Medium Regular"), local("QlassikMedium"), url("../fonts/Qlassik_TB.ttf") format("truetype")
}

@font-face {
    font-family: "QlassikBoldRegular";
    src: url("../fonts/QlassikBold_TB.eot");
    src: local("Qlassik Bold Regular"), local("QlassikBold"), url("../fonts/QlassikBold_TB.ttf") format("truetype")
}
Run Code Online (Sandbox Code Playgroud)

这是我的网站的链接:链接文字

ste*_*oen 2

我通常使用更扩展的 @font-face 声明:

@font-face {
font-family: 'TypewriterOldstyle';
src: url('../fonts/typeo-webfont.eot');
src: url('../fonts/typeo-webfont.eot?#iefix') format('eot'),
     url('../fonts/typeo-webfont.woff') format('woff'),
     url('../fonts/typeo-webfont.ttf') format('truetype'),
     url('../fonts/typeo-webfont.svg#webfonty9r23iiq') format('svg');
font-weight: normal;
font-style: normal;
}
Run Code Online (Sandbox Code Playgroud)

您可以尝试在http://www.fontsquirrel.com/fontface/generator生成