- After Effects User Guide
- Beta releases
- Getting started
- Workspaces
- Projects and compositions
- Importing footage
- Text and Graphics
- Text
- Motion Graphics
- Work with Motion Graphics templates in After Effects
- Use expressions to create drop-down lists in Motion Graphics templates
- Work with Essential Properties to create Motion Graphics templates
- Replace images and videos in Motion Graphics templates and Essential Properties
- Animate faster and easier using the Properties panel
- Drawing, Painting, and Paths
- Overview of shape layers, paths, and vector graphics
- Paint tools: Brush, Clone Stamp, and Eraser
- Taper shape strokes
- Shape attributes, paint operations, and path operations for shape layers
- Use Offset Paths shape effect to alter shapes
- Creating shapes
- Create masks
- Remove objects from your videos with the Content-Aware Fill panel
- Roto Brush and Refine Matte
- Layers, Markers, and Camera
- Animation, Keyframes, Motion Tracking, and Keying
- Animation
- Keyframe
- Motion tracking
- Keying
- Transparency and Compositing
- Adjusting color
- Effects and Animation Presets
- Effects and animation presets overview
- Effect list
- Effect Manager
- Simulation effects
- Stylize effects
- Audio effects
- Distort effects
- Perspective effects
- Channel effects
- Generate effects
- Time effects
- Transition effects
- The Rolling Shutter Repair effect
- Blur and Sharpen effects
- 3D Channel effects
- Utility effects
- Matte effects
- Noise and Grain effects
- Detail-preserving Upscale effect
- Obsolete effects
- Expressions and Automation
- Expressions
- Expression basics
- Understanding the expression language
- Using expression controls
- Syntax differences between the JavaScript and Legacy ExtendScript expression engines
- Editing expressions
- Expression errors
- Using the Expressions editor
- Use expressions to edit and access text properties
- Expression language reference
- Expression examples
- Automation
- Expressions
- Immersive video, VR, and 3D
- Construct VR environments in After Effects
- Apply immersive video effects
- Compositing tools for VR/360 videos
- Advanced 3D Renderer
- Import and add 3D models to your composition
- Import 3D models from Creative Cloud Libraries
- Image-Based Lighting
- Extract and animate lights and cameras from 3D models
- Tracking 3D camera movement
- Cast and accept shadows
- Embedded 3D model animations
- Shadow Catcher
- 3D depth data extraction
- Modify materials properties of a 3D layer
- Work in 3D Design Space
- 3D Transform Gizmos
- Do more with 3D animation
- Preview changes to 3D designs real time with the Mercury 3D engine
- Add responsive design to your graphics
- Views and Previews
- Rendering and Exporting
- Basics of rendering and exporting
- H.264 Encoding in After Effects
- Export an After Effects project as an Adobe Premiere Pro project
- Converting movies
- Multi-frame rendering
- Automated rendering and network rendering
- Rendering and exporting still images and still-image sequences
- Using the GoPro CineForm codec in After Effects
- Working with other applications
- Collaboration: Frame.io, and Team Projects
- Memory, storage, performance
- Knowledge Base
About text layers
You can add text to a composition using text layers. Text layers are useful for many purposes, including animated titles, lower thirds, credit rolls, and dynamic typography.
You can animate the properties of entire text layers or the properties of individual characters, such as color, size, and position. You animate text using text animator properties and selectors. 3D text layers can optionally contain 3D sublayers, one for each character. (See Animate text with text animators and Per-character 3D text properties.)
Text layers are synthetic layers, meaning that a text layer does not use a footage item as its source—though you can convert text information from some footage items into text layers. Text layers are also vector layers. As with shape layers and other vector layers, text layers are always continuously rasterized, so when you scale the layer or resize the text, it retains crisp, resolution-independent edges. You cannot open a text layer in its own Layer panel, but you can work with text layers in the Composition panel.
After Effects uses two kinds of text: point text and paragraph text. Point text is useful for entering a single word or a line of characters; paragraph text is useful for entering and formatting the text as one or more paragraphs.
You can copy text from other applications such as Adobe Photoshop, Adobe Illustrator, Adobe InDesign, or any text editor, and paste it into a text layer in After Effects. Because After Effects also supports Unicode characters, you can copy and paste these characters between After Effects and any other application that also supports Unicode (which includes all Adobe applications).
Text formatting is included in the Source Text property. Use the Source Text property to animate formatting and to change the characters themselves (for example, change the letter b to the letter c).
After Effects automatically synchronizes missing fonts using the available fonts. The Resolve Fonts dialog is displayed when you open a project that uses fonts that are not installed. If the fonts are available from Adobe, you can choose to have them automatically synced to your Creative Cloud account and installed. After Effects replaces fonts that are not available online with the default font.
With the April 2017 release of After Effects CC, installing After Effects does not install a set of fonts. The same fonts installed with previous versions of After Effects, such as Adobe Myriad Pro, are available as part of your Creative Cloud subscription through Adobe Fonts.
Best practices for creating text and vector graphics for video
Text that looks good on your computer screen as you are creating it can sometimes look bad when viewed in a final output movie. These differences can arise from the device used to view the movie or from the compression scheme used to encode the movie. The same is true for other vector graphics, such as shapes in shape layers. In fact, the same problems can occur in raster images, but the small and sharp details of vector graphics cause the problems most often.
Keep in mind the following as you create and animate text and vector graphics for video:
You should always preview your movie on the same kind of device that your audience use to view it, such as an NTSC video monitor. (See Preview on an external video monitor.)
Avoid sharp color transitions, especially from one highly saturated color to its complementary color. Sharp color transitions are difficult for many compression schemes—such as the compression schemes in MPEG and JPEG standards—to encode. These compression schemes can cause visual noise near sharp transitions. For analog television, the same sharp transitions can cause spikes outside the allowed range for the signal, also causing noise.
When text will be over moving images, make sure that the text has a contrasting border (such as a glow or a stroke) so that the text is still readable when something the same color as the fill passes behind the text.
Avoid thin horizontal elements, which can vanish from the frame if they happen to be on an even scan line during an odd field, or vice versa. The height of the horizontal bar in a capital H, for example, should be three pixels or greater. You can thicken horizontal elements by increasing font size, using a bold (or faux bold) style, or applying a stroke. (See Formatting characters with the Character panel.)
When animating text to move vertically—for scrolling credits, for example—move the text vertically at a rate in pixels per second that is an even multiple of the field rate for the interlaced video format. Such a rate of movement prevents a kind of twitter that can come from the text movement being out of phase with the scan lines. For NTSC, good values include 0, 119.88, and 239.76 pixels per second; for PAL, good values include 0, 100, and 200 pixels per second.
Apply the Autoscroll - Vertical animation preset in the Behaviors category to quickly create a vertical text crawl (for example, a credit roll).
- To avoid the risk of twitter that comes with vertical motion, thin graphical elements, and fields, consider presenting credits as a sequence of blocks of text separated by transitions, such as opacity fades.
Fortunately, many problems with text in video and compressed movie formats can be solved with one simple technique: Apply a blur to the text layer. A slight blur can soften color transitions and cause thin horizontal elements to expand. The Reduce Interlace Flicker effect works best for the purpose of reducing twitter; it applies a vertical directional blur but doesn't blur horizontally, so it degrades the image less than other blurs.
Scripts and expressions for working with text
This section documents scripting methods for working with text, and includes links to popular scripts and tutorials.
Create one or multiple text layers based on the contents of a text file
Christopher Green provides a script (crg_Text_from_File.jsx) on his website that allows you to create one text layer from all of the text, or you can create one layer for each line in the text file. The script also provides options for leading and other spacing.
Scripting access to text baselines
You can read the baseline (x,y) locations for a text layer using scripting with the After Effects CC 2015 (13.6) update. The new sourceText.value.baselineLocs attribute for TextDocument objects returns an array of floats indicating the starting position of each line of text’s baseline x and y value.
Line wraps in a paragraph text box are treated as multiple lines.
The array returns float values in the form of:
line0.start_x, line0.start_y, line0.end_x, line0.end_y, line1.start_x, line1.start_y, line1.end_x, line1.end_y … lineN-1.start_x, lineN-1.start_y, lineN-1.end_x, lineN-1.end_y
If a line has no characters, the x and y values for start and end are the maximum float value (3.402823466e+38F).
Scripting improvements for text layers
You can read additional information through scripting about the font and style used in a text layer, including the location of the font file on disk.
Following are the read-only attributes for the textDocument object:
- fontLocation: returns string with path of font file, providing its location on disk (not guaranteed to be returned for all font types; return value may be empty string for some kinds of fonts)
- fontStyle: returns string with style information —such as bold, or italic
- fontFamily: returns a string with the name of the font family
The value returned is for the first character in the text layer at the current time.
For examples of expressions for the Source Text property, see Writing expressions for source text and MarkerKey attributes (expression reference).
Enter point text
When you enter point text, each line of text is independent—the length of a line increases or decreases as you edit the text, but it doesn’t wrap to the next line.
The small line through the type tool pointer marks the position of the text baseline. For horizontal text, the baseline marks the line on which the text rests; for vertical text, the baseline marks the center axis of the characters.
When you enter point text, it is created using the properties currently set in the Character panel. You can change these properties later by selecting the text and modifying settings in the Character panel.
-
Do one of the following to create a text layer:
- Choose Layer > New > Text. A new text layer is created and an insertion point for the Horizontal Type tool appears in the center of the Composition panel.
- Double-click a Type tool. A new text layer is created and an insertion point for the appropriate type tool appears in the center of the Composition panel.
- Select the Horizontal Type tool or the Vertical Type tool , and then click in the Composition panel to set an insertion point for the text.
Bemærk:The pointer for a type tool changes depending on whether it is over a text layer in the Composition panel. When the pointer is not directly over a text layer, it appears as a new text pointer ; click to create a new text layer. Shift-click always creates a new text layer.
-
Enter text characters by typing. Press Enter on the main keyboard (Windows) or Return (Mac OS) to begin a new line.Bemærk:
You can also choose Edit > Paste to paste text that you have copied from any application that uses Unicode characters. Text receives the formatting of the first character in the text layer into which it is pasted.
-
To end text-editing mode, press Enter on the numeric keypad, select another tool, or press Ctrl+Enter (Windows) or Command+Return (Mac OS).
Enter paragraph text
When you enter paragraph text, the lines of text wrap to fit the dimensions of the bounding box. You can enter multiple paragraphs and apply paragraph formatting.
You can resize the bounding box at any time, which causes the text to reflow within the adjusted rectangle.
When you enter paragraph text, it has the properties set in the Character and Paragraph panels. You can change these properties later by selecting the text and modifying settings in the Character and Paragraph panels.
-
Select the Horizontal Type tool or the Vertical Type tool .
-
Do one of the following in the Composition panel to create a text layer:
- Drag to define a bounding box from a corner.
- Alt-drag (Windows) or Option-drag (Mac OS) to define a bounding box around a center point.
Bemærk:The pointer for a type tool changes depending on whether it is over a text layer in the Composition panel. When the pointer is not directly over a text layer, it appears as a new text pointer ; drag to create a new text layer. Shift-drag always creates a new text layer.
-
Enter text by typing. Press Enter on the main keyboard (Windows) or Return (Mac OS) to begin a new paragraph. Press Shift+Enter on the main keyboard (Windows) or Shift+Return (Mac OS) to create a soft carriage return, which begins a new line without beginning a new paragraph. If you enter more text than can fit in the bounding box, the overflow icon appears on the bounding box.Bemærk:
You can also choose Edit > Paste to paste text that you have copied from any application that uses Unicode characters. Text receives the formatting of the first character in the text layer into which it is pasted.
-
To end text-editing mode, press Enter on the numeric keypad, select another tool, or press Ctrl+Enter (Windows) or Command+Return (Mac OS).
Select and edit text in text layers
You can edit text in text layers at any time. If you set the text to follow a path, designate it as a 3D layer, transform it, or animate it, you can still continue to edit it. Before you can edit text, you must select it.
To disable the Path Options property group for a text layer, click the visibility (eyeball) switch for the Path Options property group. Temporarily disabling the Path Options property group can make editing and formatting text easier.
The pointer for a type tool changes, depending on whether it is over a text layer in the Composition panel. When the pointer for a type tool is directly over a text layer, it appears as the edit text pointer ; click to place the insertion point in the existing text.
-
To select text with a type tool, do one of the following:
- To select a range of text, drag over the text.
- To select a range of text, click, move the pointer, and then Shift-click.
- To select a word, double-click it. To select a line, triple-click it. To select a paragraph, quadruple-click it. To select all text in a layer, quintuple-click anywhere in the text.
- To use the arrow keys to select text, hold down Shift and press the Right Arrow or Left Arrow key. To use the arrow keys to select words, hold down Shift+Ctrl (Windows) or Shift+Command (Mac OS) and press the Right Arrow or Left Arrow key.
To select all text in a text layer and activate the most recently used type tool, double-click the text layer in the Timeline panel.
Resize a text bounding box
-
With a type tool active, select the text layer in the Composition panel to display the bounding box handles.
-
Position the pointer over a handle—the pointer turns into a double arrow —and do one of the following:
- Drag to resize in one direction.
- Shift-drag to maintain the proportion of the bounding box.
- Ctrl-drag (Windows) or Command-drag (Mac OS) to scale from the center.
Move a text layer
You can drag with the move pointer in the Composition panel to move a text layer. To activate the move pointer without leaving text editing mode, move the type tool away from the text in the Composition panel; when you see the move pointer , drag to move the text. You can also hold down the Ctrl (Windows) or Command (Mac OS) key to momentarily activate the move pointer.
Convert point or paragraph text
When you convert paragraph text to point text, all characters outside the bounding box are deleted. To avoid losing text, resize the bounding box so that all text is visible before conversion.
-
Using the Selection tool , select the text layer.
-
Using a type tool, right-click (Windows) or Control-click (Mac OS) anywhere in the Composition panel, and choose Convert To Paragraph Text or Convert To Point Text.
When you convert from paragraph text to point text, a carriage return is added at the end of each line of text, except the last line.
Bemærk:To display the bounding box of paragraph text and automatically select a type tool, double-click the text layer in the Timeline panel.
The Universal Text Engine makes it easier to work with multiple scripts together. You can type, edit, and animate text in right-to-left languages such as Hebrew and Arabic, and Indic writing style such as Hindi. For graphics that include Middle Eastern and South Asian languages, you can apply left-to-right or right-to-left settings directly in the Essential Graphics panel.
You can directly start to type in a new language, without opening Preferences to change the script. You can also combine different scripts in the same graphics elements.
The Unified Text Engine offers the following benefits:
- Text layers are interchangeable, making text layers and graphics easier and faster for multi-lingual editing.
- You don't need any workarounds to animate text correctly from right-to-left. After Effects identifies characters and animates them based on their direction. This saves time, and is quick and simple.
- Combining numbers or English letters with the right-to-left languages is seamless. After Effects identifies these characters and automatically animates them in the correct character order. So, you don't need to animate them separately.
- The Character Offset Effect now identifies the correct unicode range for both the Korean and Hebrew languages. It ensures that the effect only displays characters specific to those languages.
Change the direction of text
Horizontal text flows from left to right; multiple lines of horizontal text lie from top to bottom. Vertical text flows from top to bottom; multiple lines of text lie from right to left.
A. Horizontal point text B. Horizontal point text converted to vertical C. Horizontal paragraph text D. Horizontal paragraph text converted to vertical
-
Using the Selection tool , select the text layer.Bemærk:
You can’t convert text in text-editing mode.
-
Using a type tool, right-click (Windows) or Control-click (Mac OS) anywhere in the Composition panel, and choose Horizontal or Vertical.
You can switch the text direction between left-to-right and right-to-left. To change the direction, click the text direction buttons in the Paragraph panel.
Font ligatures
Ligatures are typographic replacement characters for certain letter pairs if they are available in a given Open Type font. You can use font ligatures by enabling the Ligatures option in the Character panel. After Effects has ligatures in many fonts for character combinations in different languages. You can also enable the option using the Font Ligature checkbox at the bottom of the Character panel.
Hindi digits
You can use Hindi digits use enabling the Hindi Digits option in the Character panel. You can also enable the option using the Hindi Digits checkbox at the bottom of the Character panel.
Convert text from Photoshop to editable text
Text layers from Photoshop retain their style and remain editable in After Effects.
If you imported the Photoshop document as merged layers, then you must first select the layer and choose Layer > Convert To Layered Comp to decompose the imported Photoshop document into its layers.
-
Add the Photoshop text layer to your composition and select it.
-
Choose Layer > Convert To Editable Text.
The layer becomes an After Effects text layer and no longer uses the Photoshop text layer as its source footage item.
If the layer contains layer styles, the layer styles are converted to editable layer styles as if the Layer > Layer Styles > Convert To Editable Styles command had been used on the layer before converting the text to editable text.
Do more with After Effects
Create incredible motion graphics, text animation, and visual effects with Adobe After Effects. Design for film, TV, video, and web.