IE 9 does not use sub-pixel antialiasing under certain conditions

后端 未结 7 1316
野趣味
野趣味 2020-12-01 11:26

[Original title: IE 9 text renders very poorly; is there a workaround?)

IE 9 is rendering the text in my application very poorly. The problem is not in my

7条回答
  •  Happy的楠姐
    2020-12-01 11:41

    Internet Explorer 9 seems to stop using sub-pixel antialiasing under really random conditions. For example, here is another example that triggers it (I assume there are more):

    
    
    
    
    Outside the div - with sub-pixel AA. :)
    
    Inside the div - no sub-pixel AA. :(

    The text inside the div will not be rendered with sub-pixel ("colored") anti-aliasing, but the text outside of it will. Both the border-radius and the overflow declarations are necessary to trigger the bug.

    (Can someone please try if it happens on their system and leave a comment? I'd be interested to know if the bug is only triggered on certain system configurations.)

    If you switch the Document Mode in the IE Developer Tools to anything but "IE9 standards", the issue disappears.

    I'm personally almost willing to live with it, but if it really bothers you I'd suggest stripping down your stylesheet step by step to track down what triggers it.

提交回复
热议问题