Sub topic 1
How Photoshop stores text: the Type tool and type layers
Prerequisites
This chapter assumes you can open, save and export Photoshop documents. You should know the Layers panel and the Options bar, and understand pixels, resolution and color modes at a basic level. Typography vocabulary such as font, size and alignment helps, but you do not need it.
By the end you will be able to explain what a type layer contains, create one with the Type tool, and recognize the operations that keep text editable and the ones that do not.
Text is vector data on a layer, not pixels
Photoshop is a pixel editor, but it does not store text as pixels. When you type, Photoshop creates a type layer. A type layer holds three things:
- The characters you typed, as plain text.
- The formatting for those characters: font, size, color, spacing and so on.
- A small amount of layout data, such as the anchor point or the box size.
Photoshop draws the letter outlines from the font file each time it needs to show the layer. Because the outlines are mathematical shapes, text stays sharp when you scale it, and you can change the wording or the font at any time. This is why a type layer is called live text.
Pixels appear only at render time. The document's resolution and the layer's size decide how many pixels the outline covers on screen or in an export. If you change the document resolution, the outlines are redrawn, not stretched.
How to recognize a type layer
In the Layers panel, a type layer shows a T icon as its thumbnail. Its name normally follows the text you typed, and Photoshop truncates long names. If you rename the layer, it stays a type layer, but it stops tracking the text content.
A layer that shows a normal pixel thumbnail is no longer live text, even if it looks like text. Zoom in to 800% to see the difference: live text stays crisp, and rasterized text shows stair-stepped edges.
The Type tool
Select the Horizontal Type Tool from the Toolbox, or press T. The tool group also contains the Vertical Type Tool and the two Type Mask tools. Press Shift+T to cycle through them.
The Type tool has no effect until you click or drag on the canvas. When you do, the Options bar shows the settings that apply to the new text.
| Option bar control | What it sets |
|---|---|
| Toggle text orientation | Horizontal or vertical text |
| Font family and style | The typeface, for example Myriad Pro Bold |
| Font size | Size in points by default |
| Anti-aliasing method | How edges are smoothed |
| Alignment | Left, center or right |
| Text color | The fill color of the characters |
| Warp Text | Bends the text into a shape |
| Character and Paragraph panels | Opens the full formatting panels |
Photoshop remembers the last settings you used. If new text appears in an unexpected font or color, check the Options bar before you type.
Creating your first type layer
- Select the Type tool with T.
- Click once on the canvas. A blinking cursor appears, and a small line marks the text baseline.
- Type your text. Press Enter (Return on Mac) to start a new line.
- Commit the text by clicking the checkmark in the Options bar, pressing Ctrl+Enter (Cmd+Return on Mac), or choosing another tool.
- To cancel without keeping the text, click the cancel button or press Esc.
Until you commit, you are in text editing mode, and most menu commands are unavailable. If a command is grayed out, check whether you have an unfinished text edit.
What a click and a drag create
Clicking creates point text. Dragging creates paragraph text inside a bounding box. Both produce the same kind of layer, and you can convert between them. The next chapter covers when to use each one.
The key point for this chapter is that both are type layers, and both keep their content as editable characters.
What keeps text editable
Many operations leave a type layer live. You can do all of these and still change the wording later:
- Move the layer.
- Scale or rotate it with Free Transform (Ctrl+T or Cmd+T).
- Change its opacity or blend mode.
- Apply layer styles such as Drop Shadow or Stroke.
- Apply warp text.
- Place it in a group or a Smart Object.
Photoshop applies Free Transform to type as a change to the text's size and orientation. After you scale a layer with Free Transform, the Character panel shows a new font size. Scaling to 200% turns a 20 pt layer into a 40 pt layer. This is useful, but it can surprise you when you later compare sizes across layers.
What removes editability
Some operations require pixels. When you apply one of these to a type layer, Photoshop asks you to rasterize the layer first, or it rasterizes the layer for you.
- Filters, such as Gaussian Blur or Add Noise.
- Painting tools, such as the Brush or Eraser.
- Operations that modify pixels directly, such as Fill or Clone Stamp.
- Perspective and Distort transforms on some versions.
After rasterizing, the layer is an ordinary pixel layer. You can no longer change the font or fix a typo. You can undo the step right after it, and the History panel keeps it for a while, but a saved and closed file cannot go back.
Other non-live cases
- Convert to Shape turns the outlines into a vector shape layer. You keep sharp edges, but you lose the ability to edit the text as characters.
- Create Work Path makes a path from the outlines and leaves the type layer unchanged. This is safe.
- Flatten Image merges all layers, including type, into one pixel layer.
Chapter 11 of this tutorial covers these choices in more detail. For now, remember the rule: if the layer still shows a T icon, it is live.
Fonts are referenced, not embedded
A PSD file stores the name of each font a type layer uses. It does not embed the font. When you open the file on another computer, Photoshop looks for a font with that name.
- If the font is installed or active, the text renders as designed.
- If it is not available, Photoshop shows a missing fonts message and substitutes another font. A warning icon appears next to the layer.
Substitution changes the appearance of the text, and it can change line breaks. If you save the file after substitution without fixing it, the substitute may replace the original font name in the file. Resolve missing fonts before you save, and see the chapter on font management for the methods.
Inspecting a type layer
You can check what a layer stores using these steps:
- Click the type layer in the Layers panel.
- Choose Window > Character to open the Character panel. It shows the font, size and other settings of the selected text.
- With the Type tool active, click inside the text. The Options bar shows the settings at the cursor.
- Choose Type > Rasterize Type Layer only if you want to test the change, and then undo with Ctrl+Z.
A type layer can contain mixed formatting. For example, one word can be bold and red while the rest is regular. The layer stores each run of formatting separately. If you select the whole layer and change the font, you override all of its runs at once.
Edge cases and common errors
- You click on existing text with the Type tool. Photoshop enters edit mode on that layer instead of creating a new one. To start a new layer on top of existing text, click on an empty area, or hold Shift while clicking.
- A new layer's text is tiny or huge. The Type tool uses the last size you set. Check the size field before you type, and remember that a document's resolution changes what a given point size looks like in pixels. At 72 ppi, 1 pt equals 1 px. At 300 ppi, 1 pt equals about 4.17 px.
- The Type tool seems to do nothing. The layer may be locked, hidden or inside a locked group. A hidden layer cannot be edited.
- Text disappears when you commit it. The text color may match the background, or it may sit outside the canvas. Check the color swatch in the Options bar and the layer position.
- A command is grayed out. You may still be in text editing mode. Commit or cancel the text first.
Summary
A type layer holds characters, formatting and layout, and Photoshop draws the outlines from the font each time. Clicking makes point text and dragging makes paragraph text. Moving, scaling, styling and warping keep the text live, while filters and painting require rasterizing. Fonts are referenced by name, so a missing font changes the look of your file.
Exercise
You create a 24 pt type layer and scale it to 150% with Free Transform. What size does the Character panel show afterward, and is the layer still editable? Then you apply Filter > Blur > Gaussian Blur and confirm the rasterize prompt. Is the layer still editable?
Show answer
The Character panel shows 36 pt, because Photoshop applies the scale to the font size, and the layer is still live text. After you apply the Gaussian Blur and rasterize the layer, it becomes a pixel layer. You can no longer edit the characters or change the font, and the layer thumbnail no longer shows the T icon.
Exercise
A colleague sends you a PSD that shows a warning about missing fonts. Why does this happen, and what should you do before you save the file?
Show answer
A PSD stores only the font name, not the font itself. The font is not installed or active on your computer, so Photoshop substitutes another one. Before saving, resolve the missing fonts by installing or activating the correct font, for example from Adobe Fonts, so the original font name stays in the file.