这是我的 CSS 代码:
@font-face {
font-family: 'WebMitra';
font-style: normal !important;
font-weight: normal !important;
src: url('./fonts/bmitra.ttf') format('truetype');
}
@font-face {
font-family: 'WebMitraBold';
font-style: normal !important;
font-weight: bold !important;
src: url('./fonts/bmitra-b.ttf') format('truetype');
}
这是我在两个操作系统中的两个版本的 Firefox 的结果。我想知道这个错误是针对 Firefox 或操作系统的。
Ubuntu 11.04 上的 Firefox 8
请参阅问题波斯字体与每个字母分开。
Windowx XP 上的 Firefox 3.6
正确版本