Google Chrome中的字体问题

时间:2014-09-20 11:29:01

标签: html google-chrome fonts

我的机器上安装了一些字体,我在创建网页时使用它们。几天前我发现了一些东西,Google Chrome没有使用我的字体(Segoe UI Light)。相反,它应用了" Times New Roman"在整个网页上。当我检查这些元素时,它显示了Segoe UI Light'只是,但UI看起来像这样(注意检查元素窗口,它仍然显示Segoe)

enter image description here

但Internet Explorer上的用户界面看起来不错(并且符合预期):



enter image description here

任何人都可以告诉我确切的问题是什么。据我记忆,我没有更改chrome中的任何设置

----编辑----

根据请求添加了一个简单的演示。

  1. HTML

    <!DOCTYPE html>
    <link rel="stylesheet" type="text/css" href="x.css">
    <html>
    <head>
        <title>Demo</title>
    </head>
    <body>
        <div>This is some demo text</div>
        <span>This is some demo body. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
        tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
        quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
        consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
        cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
        proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</span>
    </body>
    </html>
    


  2. CSS

    div {
        font-family: "segoe ui light";
        font-size: 40px;
    }
    span {
        font-family: "segoe ui light";
        font-size: 20px;
    }
    

0 个答案:

没有答案