3 ms·
They've already done it. Windows Vista and 7 provide an API for text rendering called DirectWrite (http://en.wikipedia.org/wiki/DirectWrite http://en.wikipedia
by smacktoward 15y ago
They've already done it. Windows Vista and 7 provide an API for text rendering called DirectWrite (http://en.wikipedia.org/wiki/DirectWrite http://en.wikipedia.org/wiki/DirectWrite) that gives much cleaner results. XP and prior use an older API called GDI (http://en.wikipedia.org/wiki/Graphics_Device_Interface http://en.wikipedia.org/wiki/Graphics_Device_Interface), which hasn't kept up with advances in modern displays.
The reason why this switch hasn't resulted in a simple "boom, instantly beautiful" improvement is a chicken-and-egg problem. The choice of which rendering API to use is made by application developers; they naturally want to target the one that's most widely adopted. But Vista/7 haven't driven XP out of the marketplace yet. So cautious browser developers stick with GDI.
You can see the result in the examples you cited. IE9 is a special case because it's only available for Vista and 7 anyway, so Microsoft was free to move it to DirectWrite. Firefox defaults to GDI, but as of FF4 has optional DirectWrite support (how to turn it on: http://forums.mozillazine.org/viewtopic.php?t=1775755 http://forums.mozillazine.org/viewtopic.php?t=1775755). Chrome is GDI-only.