谷歌网页字体看起来不同在Firefox和铬 [英] google web fonts looks different in firefox and chrome

查看:334
本文介绍了谷歌网页字体看起来不同在Firefox和铬的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在

Firefox:


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



有趣的是,直到今天它看起来完全一样在Chrome中,如在Firefox中。但今天
的字体变得更加大胆。我不知道为什么。



编辑:似乎这个问题只发生在谷歌浏览器的linux版本。

解决方案

好的,我意识到前几天我安装了Ubuntu字体到我的系统中,铬可能是由它造成的。所以我从我的系统中删除了字体,chrome渲染了Ubuntu。



当使用系统Ubuntu字体时,现在它实际上使用webfont,并按预期工作。


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.

解决方案

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.

这篇关于谷歌网页字体看起来不同在Firefox和铬的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆