google web fonts looks different in firefox and chrome

大兔子大兔子 提交于 2019-12-12 03:52:47

问题


I use Ubuntu google font on this page.

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

But I have found out that font-weight is totally different in chrome than in firefox.

Chrome:

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

Firefox:

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

The funny thing is that until today it had looked exactly the same in chrome as in firefox. But today the font in chrome has become bolder. I have no idea why.

EDIT: It seems that the problem occurs only in linux version of google chrome.


回答1:


Ok, I realized that a few days ago I installed the Ubuntu font into my system and that the change in the renderring of chrome is probably caused by it. So I removed the fonts from my system and chrome renders Ubuntu as before.

The behaviour was buggy when It was using the system Ubuntu font. Now it actually uses the webfont and that works as expected.



来源:https://stackoverflow.com/questions/19230367/google-web-fonts-looks-different-in-firefox-and-chrome

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!