IE7-9中的@ font-face抗锯齿 [英] @font-face anti-aliasing in IE7-9
问题描述
我正在尝试让@ font-face在IE中看起来很完美,但是缺少解决方案.
I'm trying to get @font-face looking perfect in IE, but am short of a solution.
我已经检查了这个: http://allcreatives.net/2009/12/05/smoother-font-face-embedding-in-ie-7-8/ 在我的Windows7 IE上不起作用.
I've checked out this: http://allcreatives.net/2009/12/05/smoother-font-face-embedding-in-ie-7-8/ which didn't work on my Windows7 IE.
有人有更好的解决方案吗?
Anyone has a better solution?
推荐答案
我得出的结论令我感到满意.
I've sort of come to a conclusion that I feel confortable with.
对于使用抗锯齿在浏览器中绝对需要完美的文本,我将使用Cufon/JavaScript解决方案. @ font-face只是无法在跨浏览器呈现方面进行比较.
For text that absolutely need to be perfect across browsers with the anti-aliasing, I would use Cufon/JavaScript solution. @font-face just doesn't compare in terms of rendering across browsers.
对于不需要那种完美的文本并且开始使用webfont Arial/Verdana等的文本,我会牺牲字体的额外下载来在整个网站上获得更好的字体.
For text that does not need that kind of perfection and were using webfont Arial/Verdana etc. to begin with, I would sacrifice extra download of the font to get a nicer font right across the site.
因此问题的答案是否定的……无法通过前端CSS方法强制浏览器能够/不能进行抗锯齿.
So the answer to the question is no... it is not possible to force the browser in being able/unable to do anti-aliasing by front-end CSS methods.
这篇关于IE7-9中的@ font-face抗锯齿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!