google web字体在firefox和chrome中看起来不同

时间:2013-10-07 16:51:02

标签: css google-chrome firefox fonts google-font-api

我在this page上使用Ubuntu谷歌字体。

 <link href='http://fonts.googleapis.com/css?family=Ubuntu:300|Ubuntu+Condensed&subset=latin,latin-ext' rel='stylesheet' type='text/css'>

但是我发现chrome中的font-weight与firefox完全不同。

铬:

Chrome version http://i.stack.imgur.com/Hh2y3.png

火狐:

Firefox version http://i.stack.imgur.com/on3Lp.png

有趣的是,直到今天它在chrome中看起来与firefox完全相同。但今天 chrome中的字体变得更大胆。我不明白为什么。

编辑:似乎问题只出现在linux版本的谷歌浏览器中。

1 个答案:

答案 0 :(得分:0)

好的,我意识到几天前我将Ubuntu字体安装到我的系统中,而且渲染chrome的变化可能是由它引起的。所以我从我的系统中删除了字体,Chrome就像以前一样呈现Ubuntu。

当它使用系统Ubuntu字体时,行为是错误的。现在它实际上使用了webfont并且按预期工作。

相关问题