font smoothing CSS - but for windows?

9.1k Views Asked by At

The following code makes my text look so much prettier on Mac:

html, body {
    -moz-osx-font-smoothing: grayscale;
}

But it doesn't work on Windows. Is there anything that works the same way for Windows?

1

There are 1 best solutions below

2
On BEST ANSWER

Font smoothing is not a standard and there is no guarantee it will work for all of your users. You also have ClearType on Windows that handles the crisp font in at least Internet Explorer.

If you insist on using this you can see browser compatability here.

Also it should work in Chrome with this:

-webkit-font-smoothing: antialiased;

Hope this answers your question.