在Linux上,字体显示较厚的

时间:2016-11-17 08:25:46

标签: html css linux fonts

我的Linux网站有点问题。 Linux上的字体我看到更厚,像Thin字体。即使在Apple电脑上字体显示也不错。我使用谷歌Roboto字体。下面是字体的例子

这是我的CSS如何使用font-face

@font-face {
    font-family: 'Roboto Light';
    src: url("../fonts/Roboto-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal
}
@font-face {
    font-family: 'Roboto Regular';
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal
}
@font-face {
    font-family: 'Roboto Medium';
    src: url("../fonts/Roboto-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal
}

enter image description here

的Linux

enter image description here

在LINUX上以白色突出显示Exchange

任何解决方案?

0 个答案:

没有答案