我没有看到'Chiller'字体中的文字,我在使用谷歌网络字体时请求

时间:2012-12-27 13:45:31

标签: html fonts google-api

我试图在我的JSP页面上使用谷歌网络字体,但它似乎无法正常工作。在我的 Fedora 16 OS 上,我安装了Chiller字体。当我在Fedora上运行使用谷歌字体apis显示Chiller字体文本的代码时,它会以该字体显示文本,但是当我在 Ubuntu 上尝试时,它不会如果安装了冷却器字体,浏览器将显示它可能在后备中使用的默认字体。这可能是什么原因?摘录:

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Chiller">
    <style>
        #page_font {
            font-family: 'Chiller';
            font-size: 50px;
        }
    </style>
    <title>New Year Countdown </title>

</head>

<body> <div id="page_font"> <br /> Countdown </div>  </body>

注意:The web address of that JSP page, where I have used this snippet

1 个答案:

答案 0 :(得分:1)

在致电http://fonts.googleapis.com/css?family=Chiller时,Google网站会回复:

Error (400): Missing font family

他们没有名为“Chiller”的字体!