Firefox - Google 字体,希腊语不适用于 Roboto
Firefox - Google fonts, greek won't work with Roboto
您可以检查以下代码段,问题是 Roboto 无法在 firefox 上正确显示希腊字符。
body {
font-family: Roboto, sans-serif;
}
<link href="http://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css">
<h1>This is a test</h1>
<h1>Αυτό είναι ένα τεστ</h1>
您需要添加子集 "greek"(我也添加了 greek extended 以防万一)
body {
font-family: Roboto, sans-serif;
}
<link href='http://fonts.googleapis.com/css?family=Roboto&subset=latin,greek-ext,greek' rel='stylesheet' type='text/css'>
<h1>This is a test</h1>
<h1>Αυτό είναι ένα τεστ</h1>
P.S。 -你怎么能自动做到这一点?
在第 2 步中here
看来您需要将正确的子集添加到字体 API 调用中。尝试改用这个
http://fonts.googleapis.com/css?family=Roboto&subset=latin,greek-ext,greek
这似乎适用于我的 firefox。
您可以检查以下代码段,问题是 Roboto 无法在 firefox 上正确显示希腊字符。
body {
font-family: Roboto, sans-serif;
}
<link href="http://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css">
<h1>This is a test</h1>
<h1>Αυτό είναι ένα τεστ</h1>
您需要添加子集 "greek"(我也添加了 greek extended 以防万一)
body {
font-family: Roboto, sans-serif;
}
<link href='http://fonts.googleapis.com/css?family=Roboto&subset=latin,greek-ext,greek' rel='stylesheet' type='text/css'>
<h1>This is a test</h1>
<h1>Αυτό είναι ένα τεστ</h1>
P.S。 -你怎么能自动做到这一点?
在第 2 步中here
看来您需要将正确的子集添加到字体 API 调用中。尝试改用这个
http://fonts.googleapis.com/css?family=Roboto&subset=latin,greek-ext,greek
这似乎适用于我的 firefox。