Getting crisper fonts in OS X after switching from Windows

Some time ago, while preparing a presentation for a client that was to be viewed using a Mac, I've faced the same issue.


Tweak

A simple tweak to the anti-aliasing improved the rendering of fonts for the monitor used:

  1. Open the terminal: Applications → Utilities → Terminal

  2. Type:

    defaults -currentHost write -g AppleFontSmoothing -int 2
    

    You can use numbers between 1 and 4. Four is the default one.

    For me, I've got the desirable result using the value two.

  3. Restart the OS.


Comparison:

I didn't perform any comparison, but users from the link below have compared the improvement using Chrome.

  1. Use Chrome and load a website on the first tab;

  2. Apply a difference value from the above command line reference;

  3. Open a new tab and access the same website;

  4. Compare by looking at both tabs side by side.


Credits:

Credits on this solution to: tonymacx86 at http://tonymacx86.blogspot.pt.


System Preferences had an option to use a lighter text rendering style, but it was removed in 10.6. You can still use it by modifying property lists though.

defaults write -g AppleFontSmoothing -int 1
sudo defaults write -g AppleFontSmoothing -int 1

The second command is needed for windows shown by processes owned by root like the force quit window.

I've always used the light setting. It's closer to the weight of printed text and makes especially Japanese text and light text on a dark background look better in my opinion.

Eclipse doesn't seem to support subpixel rendering on OS X, so text might look different in it than in native applications. I can't tell it from the screenshot, but check if LCD font smoothing (subpixel rendering) is enabled.

If clicking the checkbox has no effect, it might be because subpixel rendering is not enabled automatically on some LCDs. Setting AppleFontSmoothing to 2 or 1 might force it to be enabled.