Chrome 19无法识别字体重量:更轻 [英] Chrome 19 not recognising font-weight: lighter

查看:337
本文介绍了Chrome 19无法识别字体重量:更轻的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚拉起一个项目,我正在做一些修改,并注意到声明 font-weight:lighter 这是通过 @ font-face ,它不再在网站上工作(参见image-top chrome,bottom ff)。从昨天晚上我的系统(Windows)没有什么改变,酒吧被升级到今天的Chrome 19.0.1084.46,我认为是问题,但我想知道是否有其他人已经注意到这一点,或者如果有一个修复? >



感谢。

解决方案

尝试使用数字代替相对术语更轻的



例如: font-weight:100 最轻。



这里有一篇关于相对和绝对字体权重的文章:
http://webdesign.about.com/od/fonts/qt/aa031807.htm


I just pulled up a project I'm working on to make some modifications, and noticed that declaration font-weight: lighter which is being served via @font-face and it is no longer working on the site (see image - top chrome, bottom ff). Nothing has changed on my system (Windows) since last night, bar being upgraded to Chrome 19.0.1084.46 today, which I presume is the problem, but I am wondering if anyone else has noticed this or if there is a fix?

Thanks.

解决方案

Try using a number instead the relative term lighter.

For example: font-weight:100 will be the lightest.

There's a handy article about relative and absolute font-weights here: http://webdesign.about.com/od/fonts/qt/aa031807.htm

这篇关于Chrome 19无法识别字体重量:更轻的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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