Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Change Font Smoothing Text on OS X Yosemite

· 5 min read · Home Tech

In this article
  1. What Happened to Font Smoothing in Yosemite
  2. How the Hidden Command Works
  3. How to Apply the Change (Step by Step)
  4. Choosing Between Subpixel and Grayscale
  5. Common Problems and Misconceptions
  6. Alternatives for Better Text Appearance
  7. Frequently Asked Questions

Yes, you can change font smoothing (subpixel antialiasing) on OS X Yosemite, but the system-wide toggle was removed from System Preferences. The only built-in way left is a hidden terminal command that switches between the old subpixel rendering and the newer grayscale rendering. This article explains what changed in Yosemite, how to run the command, what each setting looks like, and why you might want to switch.

What Happened to Font Smoothing in Yosemite

Before OS X Yosemite (10.10), Apple offered a slider in System Preferences > General called "Font Smoothing" with four levels: Off, Light, Medium, and Strong. It controlled subpixel antialiasing, a technique that uses the red, green, and blue subpixels of an LCD screen to increase perceived resolution of text. Yosemite removed that slider and changed the default rendering to grayscale antialiasing, which only uses full pixels. Apple made this change partly because subpixel rendering can look blurry on Retina displays and because it can cause color fringing on non-Retina screens. The removal was widely noticed by users of older Macs with standard-resolution displays, who found text thinner and less sharp after upgrading.

How the Hidden Command Works

Apple left a hidden preference key that toggles between the two rendering modes. The command writes to the global domain and takes a numeric value. The two relevant values are:

  • 1 – enables subpixel antialiasing (the pre-Yosemite style)
  • 2 – enables grayscale antialiasing (the Yosemite default)

You run it in the Terminal app, which is in /Applications/Utilities/. The command is:

defaults write -g AppleFontSmoothing -int 1

After running it, you must log out and back in (or restart) for the change to take effect on most apps. Some applications that manage their own rendering, like certain Java apps, may ignore the setting entirely.

How to Apply the Change (Step by Step)

  1. Open Terminal (Finder > Applications > Utilities > Terminal).
  2. Type or paste: defaults write -g AppleFontSmoothing -int 1 and press Return.
  3. Log out (Apple menu > Log Out) and log back in, or restart your Mac.
  4. To revert to the default, repeat with -int 2.

You can verify the current value by running defaults read -g AppleFontSmoothing. If it returns a number, the setting is active; if it returns "The domain/default pair of (kCFPreferencesAnyApplication, AppleFontSmoothing) does not exist," the system is using its default (which is effectively 2 on Yosemite).

Choosing Between Subpixel and Grayscale

Which setting looks better depends on your display and eyes. Subpixel rendering (value 1) can make text appear sharper on non-Retina LCD screens, especially at small sizes, because it effectively triples the horizontal resolution. However, it can produce color fringing on text edges, and it does nothing for Retina displays where pixels are too small to benefit. Grayscale rendering (value 2) is cleaner and more consistent across zoom levels, and it avoids the colored halos. On a Retina MacBook Pro or iMac, you likely won't see a difference. On an older MacBook or an external 1080p monitor, the difference can be noticeable.

There is no universal right answer. Try value 1 for a few days, then value 2, and see which is more comfortable for long reading sessions. Some users find that subpixel rendering gives a slight "boldness" that reduces eye strain, while others prefer the crisper grayscale look.

Common Problems and Misconceptions

A frequent misconception is that the command changes font smoothing strength (like the old slider). It does not. The old slider adjusted the intensity of subpixel rendering; the hidden key only turns subpixel rendering on or off. There is no hidden strength slider in Yosemite. Another issue: some users run the command and see no change because they didn't log out. The setting is read at login by the WindowServer process, so it won't apply until the next login. Also, the setting only affects apps that use the standard text rendering APIs. Web browsers like Chrome and Firefox have their own font rendering settings and may ignore the system preference. Safari, Mail, and most Apple apps will follow it.

If you are on a Retina display, you may not notice any difference at all—that is normal. Subpixel rendering is designed for displays with visible subpixels; on Retina, the pixel density makes it irrelevant.

Alternatives for Better Text Appearance

If the hidden command doesn't satisfy you, there are other ways to improve text clarity on Yosemite:

  • Increase font size in System Preferences > Displays > Display settings, or use the accessibility zoom.
  • Adjust the display's sharpness if you're using an external monitor (via the monitor's own controls, not macOS).
  • Use a custom font smoothing level via third-party tools like TinkerTool, which provides a GUI for the same hidden preference.
  • Switch to a different browser if you dislike the font rendering in Safari. Chrome and Firefox have their own settings for antialiasing.

None of these are official Apple features, and they don't provide the old slider, but they can help if the terminal command isn't enough.

Frequently Asked Questions

Is this command safe to run?

Yes. It only changes a preference key that Apple left in place. It does not modify system files or require disabling System Integrity Protection. You can reverse it at any time by setting the value back to 2.

Will this work on macOS Mojave or later?

The command still exists in newer versions of macOS, but Apple has gradually removed subpixel rendering support. Starting with Mojave, the system ignores the setting on most built-in displays, and on some external displays it may not work at all. If you're on a modern macOS, the command likely has no effect.

Why did Apple remove the font smoothing slider?

Apple stated that subpixel antialiasing was designed for non-Retina displays and that as the Mac lineup moved to Retina, the rendering technique became unnecessary and could cause artifacts. The removal was part of the visual redesign of Yosemite, which favored cleaner, flatter text.

Does this affect text in all apps?

No. Apps that use Apple's standard text system (like TextEdit, Mail, and most native apps) will follow the setting. Apps that do their own rendering, such as some web browsers, Java applications, and certain games, may not. Chrome, for example, has its own font rendering engine and ignores the system preference.

Can I get the old font smoothing slider back?

Not through official means. Third-party utilities like TinkerTool offer a GUI for the hidden preference, but they don't restore the original slider with multiple strength levels. The underlying system only supports on/off for subpixel rendering in Yosemite.