Google字体:Kavoon破了FF

时间:2016-02-18 21:21:29

标签: google-chrome firefox fonts webfonts google-webfonts

Kavoon字体似乎在FF中被破坏了。 Chrome显示为半粗体,而FF显示完全不同。例: https://jsfiddle.net/daneren2005/2qe35hqa/1/

<link href='https://fonts.googleapis.com/css?family=Kavoon&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<div style="font-family: kavoon">Test</div>

直接看https://fonts.googleapis.com/css?family=Kavoon我看到嵌入了两种不同的字体。我想知道FF是否选择了与Chrome不同的产品?有没有人对这种字体有解决方法,或者我现在应该避免使用它?

开发控制台出错:

17:17:14.496 downloadable font: Layout: DFLT table doesn't satisfy the spec. for script tag DFLT (font-family: "Kavoon" style:normal weight:normal stretch:normal src index:2) source: https://fonts.gstatic.com/s/kavoon/v4/OKJIqNlCjDLJ2zxSz-ZOtA.woff21 css:10:12 17:17:14.496 downloadable font: Layout: Failed to parse script table 0 (font-family: "Kavoon" style:normal weight:normal stretch:normal src index:2) source: https://fonts.gstatic.com/s/kavoon/v4/OKJIqNlCjDLJ2zxSz-ZOtA.woff21 css:10:12 17:17:14.496 downloadable font: GSUB: Failed to parse script list table (font-family: "Kavoon" style:normal weight:normal stretch:normal src index:2) source: https://fonts.gstatic.com/s/kavoon/v4/OKJIqNlCjDLJ2zxSz-ZOtA.woff21 css:10:12 17:17:14.496 downloadable font: rejected by sanitizer (font-family: "Kavoon" style:normal weight:normal stretch:normal src index:2) source: https://fonts.gstatic.com/s/kavoon/v4/OKJIqNlCjDLJ2zxSz-ZOtA.woff21 css:10:12

https://fonts.googleapis.com/css?family=Kavoon的结果:

/* latin-ext */
@font-face {
  font-family: 'Kavoon';
  font-style: normal;
  font-weight: 400;
  src: local('Kavoon Regular'), local('Kavoon-Regular'), url(https://fonts.gstatic.com/s/kavoon/v4/UmKWImoBBDClLUHy34euUfesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Kavoon';
  font-style: normal;
  font-weight: 400;
  src: local('Kavoon Regular'), local('Kavoon-Regular'), url(https://fonts.gstatic.com/s/kavoon/v4/OKJIqNlCjDLJ2zxSz-ZOtA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

0 个答案:

没有答案