Why does Internet Explorer 9 render Arial stronger than other browsers?

倖福魔咒の 提交于 2019-12-07 02:35:55

问题


For some reason IE9 renders Arial font bolder than other browsers such as: IE7, IE8, Chrome, and Firefox. I have looked for the reason in the CSS but couldn't find anything wrong.

Another thing that happened is that I had word-spacing of 1 or 2 pixels in most of my website, but IE9 showed it too wide, so I made conditional css for it with normal word-spacing.

You can see the difference in the attached screenshot, and also find it in this temporary link: http://pat.co.il/shirg/matanuziel.com/

Any ideas will be appreciated. Thanks


回答1:


The problem is the browser, not your site.

Internet Explorer 9 uses sub-pixel positioned ClearType to render text by using DirectWrite. This can cause rendering differences compared to other browsers and is expected behavior. It can cause text to blur slightly more, just as you're seeing.


As a side note, you should consider using TypeKit if you want to use non-standard fonts and have them render (resonably) well for all users. Note that there will still be minor rendering differences across browsers, probably on the same order of magnitude as what you're experiencing here.

And as Alan stated, using normalize.css is a good idea.




回答2:


It might be worth looking at normalize.css. I don't know if it'll address your specific issues, but I've found that it's a nice starting point.



来源:https://stackoverflow.com/questions/8676336/why-does-internet-explorer-9-render-arial-stronger-than-other-browsers

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