Sub topic 12
Choosing an anti-aliasing method
This chapter assumes you can create type layers and format characters in the Character panel. It covers what anti-aliasing does to text, what each of Photoshop's methods changes, and how to pick one for a given job.
What anti-aliasing does to text
Photoshop draws every glyph from vector outlines, but the screen and the exported file are made of square pixels. A curve or diagonal edge rarely lines up with the pixel grid. Without correction, the edge pixels are either fully covered or fully empty, which produces stair-step edges known as jaggies.
Anti-aliasing is the correction. Pixels on the glyph edge are given partial coverage. A pixel that is 40% inside the letter gets 40% of the text color blended with whatever lies behind it. The eye reads these in-between values as a smooth edge.
Three points matter in practice:
- Photoshop uses grayscale anti-aliasing. It does not use the colored LCD subpixel rendering that some operating systems apply to interface text. The result looks the same on any display.
- The choice affects how heavy and how soft the edges look. It does not change font, size, or the letter spacing you set.
- The setting is stored on the type layer, so you can change it at any time while the layer is still live type. Once the layer is rasterized, the edge pixels are fixed.
The five methods
The setting is a drop-down list. You can find it in the Options bar when the Type tool is active, at the bottom right of the Character panel, and in the Type menu under Anti-Alias. The list offers five methods.
| Method | Effect on edges | Typical use |
|---|---|---|
| None | No smoothing. Edge pixels are fully on or fully off. | Pixel art, bitmap fonts, retro game graphics |
| Sharp | Crisp edges that keep the glyph shape close to the outline. | Small text and general interface work |
| Crisp | Slightly softer than Sharp, still defined. | Body copy at moderate sizes |
| Strong | Adds weight, so letters look bolder. | Thin fonts that look weak on screen |
| Smooth | The softest edges, lighter in appearance. | Large headlines, print-bound artwork |
The exact differences are small, and they depend on the font and size. A font's own weight also interacts with the method. Strong on an already heavy typeface can clog counters, the enclosed spaces in letters such as "e" and "a". Smooth on a hairline font can make the strokes look faint.
Some versions of Photoshop on Windows may list extra options. Those versions can also show a Windows-specific rendering choice for matching system text. Check your own menu. Look at the value currently set on a layer rather than assuming a default, because a layer made in another document or version may carry a different value.
When the choice matters
Anti-aliasing is most visible at small sizes. A 10 px letter has only a few pixels across each stroke, so a change in edge coverage changes how the whole letter looks. At 72 px or more, every method looks nearly the same, because the edge is a tiny fraction of the stroke.
Resolution has a similar effect. At 300 ppi for print, one text pixel is physically tiny, so the method rarely matters. At 72 ppi for screens, each pixel is large and the method is worth testing.
To compare methods fairly:
- Zoom to 100% (View > Actual Pixels). At other zoom levels Photoshop resamples the preview, and what you see is not the final edge.
- Compare the same text on the same background.
- Look at the smallest text in the layout, not the headline.
Choosing by situation
Use these as starting points, then judge by eye:
- Pixel art and bitmap fonts. Choose None. Any smoothing blurs the deliberately blocky edges and adds colors your palette should not contain. Also set the size to a value the font was designed for, and keep the layer unrotated and unscaled, because transforms resample the pixels.
- User interface mockups. Choose Sharp or Crisp. These match the clean look of most interface text and keep small labels readable.
- Light weights at small sizes. Try Strong. It is an alternative to switching font weight, which would change the character widths and could reflow the text.
- Large display type. Smooth is a good default. The extra softness is invisible at a distance, and the outline stays faithful.
Interactions to watch
Transforms and warps
Anti-aliasing is applied when Photoshop renders the type layer. For a live type layer, a rotation or a warp is applied to the outline first, and the edge is smoothed afterward. With None, a rotated or warped line shows visible stair-steps, which is rarely what you want outside pixel art.
Backgrounds and halos
Edge pixels are partial blends. On a transparent layer they are stored as partial transparency. If you rasterize text over one color and later place it on a very different one, the original blend can leave a faint fringe, a halo. Keep the layer as live type or a Smart Object until the background is final, and the edge is recomputed against the right layer.
Layer styles
Layer styles such as Stroke or Drop Shadow work from the smoothed edge. A Strong setting makes a shadow slightly heavier, and a thin Stroke around None text follows the jagged outline. If a style looks rough, check the anti-aliasing value first.
Rasterizing
Rasterizing locks in the current method. If you later decide the text is too thin, you cannot switch to Strong. Make this decision before you convert the layer to pixels, or work on a duplicate.
Per layer, not per character
The method applies to the whole type layer. You cannot give one word None and the next Smooth in the same layer. If you need mixed methods, split the text across two layers.
Setting the method from a script
The scripting property is antiAliasMethod on the textItem, and its values come from the AntiAlias enumeration. This script makes one copy of the active text layer for each method, so you can compare them side by side at 100% zoom.
// ExtendScript (File > Scripts > Browse...)
// Select a text layer first. The script duplicates it once per method
// and stacks the copies downward so they can be compared.
var doc = app.activeDocument;
var source = doc.activeLayer;
if (source.kind != LayerKind.TEXT) {
alert("Select a text layer first.");
} else {
var methods = [
["None", AntiAlias.NONE],
["Sharp", AntiAlias.SHARP],
["Crisp", AntiAlias.CRISP],
["Strong", AntiAlias.STRONG],
["Smooth", AntiAlias.SMOOTH]
];
var step = 60; // vertical distance between copies, in pixels
for (var i = 0; i < methods.length; i++) {
var copy = source.duplicate();
copy.name = "AA " + methods[i][0];
copy.textItem.antiAliasMethod = methods[i][1];
// translate() moves the layer by an offset
copy.translate(new UnitValue(0, "px"), new UnitValue(step * (i + 1), "px"));
}
}Delete the copies you do not need when you are finished. Reading source.textItem.antiAliasMethod returns the current value, which is useful when you audit a document in which layers were made by different people.
Common mistakes
- Judging at a zoom level other than 100%. The preview is resampled and can mislead you.
- Using None on ordinary photographic or marketing layouts, where it simply looks rough.
- Switching to Strong to fix a layout problem that is really a font choice or contrast problem.
- Rasterizing before the final comparison.
- Expecting the setting to follow a font to a new layer. Check it on each layer you create.
Exercise
A designer sets a thin sans-serif font at 12 px for a web mockup, and the strokes look faint on a white background. Name two changes that could fix this without changing the font, and say which one keeps the character widths unchanged.
Show answer
One change is to set the anti-aliasing method to Strong. The other is to use Sharp or Crisp instead of Smooth. Another option is to darken the text color to raise contrast. Changing the anti-aliasing method keeps the character widths unchanged, because it only alters how the edge pixels are blended. Switching to a bolder weight or a different font would change the widths and could reflow the line.
Exercise
Which anti-aliasing method suits a 16-bit style pixel-art sprite sheet, and what happens to the edge pixels if you choose Smooth instead?
Show answer
None is the right choice. It keeps every edge pixel fully on or off, so the sprite uses only the colors in its palette. With Smooth, the edge pixels become partial blends of the text color and the background. Those blends add intermediate colors and make the blocky outlines look blurred.