Sub topic 5
Fine-tuning space: leading, tracking, kerning and baseline shift
This chapter assumes you can create point text and paragraph text, select characters with the Type tool, and open the Character panel (Window > Character). It builds on the font, size and color controls from the previous chapter. Here you will control the space around and between characters, which is the main difference between text that merely appears on the canvas and text that looks designed.
The four controls at a glance
Photoshop gives you four separate controls for space in the Character panel. Each one moves a different thing.
| Control | What it changes | Applies to | Default |
|---|---|---|---|
| Leading | Vertical distance between baselines of consecutive lines | Whole line (largest value on the line wins) | Auto (120% of font size) |
| Tracking | Equal space added or removed across a range of characters | A selection of characters | 0 |
| Kerning | Space between one specific pair of characters | The gap at the cursor | Metrics |
| Baseline shift | Vertical offset of characters from their baseline | A selection of characters | 0 |
Tracking, kerning and baseline shift are measured in thousandths of an em, and leading is measured in points. An em is a unit equal to the current type size. At 50 pt, one em is 50 pt, so a tracking value of 100 adds 0.1 em, which is 5 pt, between each pair of characters. Because the unit scales with size, a value you choose for a headline keeps the same proportions if you later resize the text.
Leading
Leading (pronounced "ledding") is the distance from one baseline to the next. The baseline is the invisible line the letters sit on. Set leading in the field with the vertical-arrows icon in the Character panel.
The default is Auto. Auto leading is 120% of the font size, so 20 pt type gets 24 pt leading. Auto is a reasonable starting point, but it follows each font's own proportions poorly, and it changes whenever you change the size.
For body text, a common range is 120% to 145% of the size. Lines of long text need more room. Short, large headlines usually need less, often 90% to 110%, because big type at 120% looks gappy.
Two behaviors surprise people:
- The tallest value on a line wins. In paragraph text, Photoshop uses the largest leading value among the characters on a line to place that line. If you raise the leading on a single word in the middle of a line, the whole line moves. Set leading for the entire paragraph, not for one word.
- Leading is not paragraph spacing. Leading separates lines inside one paragraph. The space between paragraphs is set in the Paragraph panel (covered in a later chapter).
To apply leading to a whole text layer, select the layer in the Layers panel (not the characters), then change the value. Photoshop applies it to all text in the layer.
Hold Alt+Up/Down Arrow (Windows) or Option+Up/Down Arrow (macOS) with characters selected to change leading by the amount set in Preferences > Units & Increments > Type (the "Size/Leading" increment). Add Ctrl or Cmd to change it by five times that increment.
Tracking
Tracking adds or removes the same amount of space between every pair of characters in a selection. Positive values loosen the text, and negative values tighten it.
Typical uses:
- All-caps text looks better with positive tracking, usually +50 to +150. Capitals are designed to be mixed with lowercase letters, so they sit too close together when set alone.
- Small text (under 10 pt) benefits from slight positive tracking, such as +10 to +30, for legibility.
- Large display headlines often look better with slight negative tracking, such as -10 to -30, because large letters leave visibly large gaps.
- Body copy should usually stay near 0. Heavy tracking in a paragraph makes the lines hard to read.
Select the characters, or select the whole layer, and then type a value in the tracking field (the "VA" icon with a horizontal arrow underneath). Keyboard shortcut: Alt+Left/Right Arrow (Windows) or Option+Left/Right Arrow (macOS) changes tracking in steps of 20. Add Ctrl or Cmd for steps of 100.
A common mistake
Applying tracking to a selection that includes the last character of a line adds space after that character too. In centered text, this shifts the visible line slightly off center. If a centered heading looks off by a small amount, deselect the last character and set its tracking to 0, or apply the same tracking and then correct the last character.
Kerning
Kerning adjusts the space between two specific characters. Some letter pairs, such as "AV", "To" or "Wa", leave an awkward gap because of their shapes. Fonts contain kerning tables that fix the most common pairs. Photoshop has three kerning modes in the kerning drop-down:
| Mode | How it works | When to use |
|---|---|---|
| Metrics | Uses the kerning pairs built into the font | Default for most text; best with well-made fonts |
| Optical | Photoshop adjusts spacing by looking at the letter shapes | Fonts with poor or missing kerning data, or mixed fonts on one line |
| Numeric value | You enter a number for one pair | Manual correction of a pair |
To kern manually, click with the Type tool between two characters (do not select them). Then enter a value in the kerning field, or press Alt+Left/Right Arrow (Windows) or Option+Left/Right Arrow (macOS). Negative values move the characters closer, and positive values move them apart.
If you select a range of characters instead of placing a cursor, the field changes tracking, not kerning. The same field and shortcut serve both controls, and what you get depends on whether you have a cursor or a selection. This is the most frequent cause of "I tried to kern and the whole word moved."
Kerning set to Metrics or Optical shows as a word in the field. A number you typed shows as a value, and values in parentheses show the automatic kerning that Metrics or Optical is currently applying.
Kerning and tracking together
Tracking is applied on top of kerning. When tracking is above roughly +100 or below roughly -50, the kerning pairs matter less because the overall spacing changes the pair relationships. Work in this order: choose the font and size, set tracking for the overall texture, and then fix individual pairs with kerning last. If you kern first and change the tracking later, you may need to kern again.
Checking kerning
A reliable check is to look at the space as shapes, not letters. Squint or zoom out. The spaces between letters should look even in tone. Common trouble spots are letters with open sides next to straight sides, such as "r" followed by "n", and a capital next to a lowercase letter such as "Ty".
Baseline shift
Baseline shift raises or lowers selected characters relative to the baseline without changing the line's leading position. Enter a positive value to raise characters and a negative value to lower them. The field has an "A" with a vertical arrow, and the unit is points.
Uses include:
- Aligning a small symbol, such as a trademark sign or a bullet, to the optical center of the line
- Fake superscript or subscript when a font lacks proper ones (use the OpenType features in a later chapter when the font has them)
- Sitting a smaller word at the same optical height as capitals next to it
- Creating a deliberately bouncing text effect
Keyboard shortcut: Shift+Alt+Up/Down Arrow (Windows) or Shift+Option+Up/Down Arrow (macOS) moves selected characters by the Baseline Shift increment in Preferences > Units & Increments.
Baseline shift does not change line spacing the way you might expect. On a line where one character is shifted up, Photoshop may still treat the line's height from the original baseline, so a large shift can overlap the line above. Check the line above and adjust leading if needed.
A worked example
Suppose you have a poster title of two lines in a bold sans-serif font, set at 72 pt, in all caps: "SUMMER" and "SALE 50% OFF".
- Select the text layer in the Layers panel.
- Set leading to 72 pt, which is 100% of the size. At Auto the lines would be 86.4 pt apart and look gappy.
- Select all the characters and set tracking to +40 because the text is in capitals.
- Zoom to 100% and look at pairs. If "SA" in "SALE" looks tight and "LE" looks loose, place the cursor between them and adjust. Try -20 between "S" and "A" and +10 between "L" and "E".
- Select only "50%" and set baseline shift to 0 for the digits, and select "%" and reduce its size to 48 pt with baseline shift 8 pt, so the smaller symbol sits level with the digits' visual center.
- Toggle the layer visibility off and on to compare. Judge the result at the size it will be viewed.
After a change in size, step 3 and step 5 need review, because the values are proportional but your eye may want a different balance.
Setting the values from a script
You can set the same properties from ExtendScript. In the text item, leading, tracking, kerning, baselineShift and autoLeading are the relevant properties. Tracking in script uses the same thousandths-of-an-em numbers as the panel.
// ExtendScript: tighten a headline and set fixed leading
var item = app.activeDocument.activeLayer.textItem;
item.useAutoLeading = false;
item.leading = new UnitValue(72, "pt");
item.tracking = 40;
item.baselineShift = new UnitValue(0, "pt");Setting useAutoLeading to false first matters. If auto leading stays on, the leading value you set is ignored.
Troubleshooting
- Only one line moved after changing leading. Characters on that line were selected, not the layer. Select the layer in the Layers panel and try again.
- A word shifted when you wanted to kern. You had a selection, not a cursor, so you changed tracking. Undo and click between the two letters.
- Lines overlap. Leading is smaller than the type size, or a baseline-shifted character crosses into the next line. Increase leading.
- Spacing differs between machines. The font substitution changed the kerning table. Resolve missing fonts first, because kerning values depend on the font in use.
- Kerning value in parentheses. It is the automatic value in effect, not one you typed.
Exercise
A centered title reads "To Win". You select the whole word "To", type -80 in the field with the "VA" icon, and both letters move closer but the pair still looks uneven against "Win". What did you change, what should you have done to fix only the "T" and "o" gap, and why does this change the result?
Show answer
With a selection you changed tracking, which tightens every pair in the selection and also affects the space after the final character. To kern only the pair, click with the Type tool between "T" and "o" so there is a cursor and no selection, then enter a negative value such as -60. Kerning acts on the single gap at the cursor, so the rest of the word keeps its spacing.
Exercise
A 40 pt paragraph uses Auto leading. What is the line spacing in points, and what fixed leading would give about 110% for a headline version of the same text?
Show answer
Auto leading is 120% of 40 pt, which is 48 pt. A 110% leading is 44 pt. Turn off auto leading (or type 44 in the leading field) so the value stays fixed if you change the size later.
Exercise
In ExtendScript, you set item.leading = new UnitValue(30, "pt"); and nothing changes on the canvas. What is the likely cause and the fix?
Show answer
The text item still has useAutoLeading set to true, so the script's leading value is ignored. Set item.useAutoLeading = false; before setting item.leading.