怎么会这样?在IE中如何使文本看起来与其他浏览器一样好?
这是一个演示:
解决方法
进入细节 – 我的意思是获得真正的技术性 – ClearType的这种品种与Windows的其余部分(也称为GDI ClearType(Windows的GDI图形库))不同.旧的GDI ClearType是大多数其他浏览器的Windows版本基于他们的字体渲染引擎,这也是使字体看起来真的像大尺寸的吉他.
第二个链接的下一个段落总结了大部分其余的内容,这非常好地解释了为什么在IE9的新引擎中字体看起来更加流畅:
A significant improvement over the prevIoUs version of ClearType is the use of sub-pixel positioning. Unlike the ClearType implementation found in GDI,the ClearType found in Windows Presentation Foundation (WPF) allows glyphs to start within the pixel and not just the beginning boundary of the pixel. Because of this extra resolution in positioning glyphs,the spacing and proportions of the glyphs is more precise and consistent.
特别参见Y-direction anti-aliasing的截图,以供比较.另一个报价:
ClearType in Windows Presentation Foundation (WPF) provides antialiasing on the y-direction level to smooth out any jagged edges.