textAttr

Text layer attributes. Specifies additional attributes for text layers which are not available as rtf commands.

textAttr=res[,antiAliasing[,resMode[,wordWrap]]]

res

Provides a means for scaling the text layer without changing font sizes. Higher resolution values increase the size of the rendered text relative to the canvas size; smaller values reduce the text size. Text resolution in dots per inch (int greater than 0).

antiAliasing

Controls the anti-aliasing mode employed by the text rendering engine.

off | norm | crisp | sharp | strong | smooth

off

Disable text anti-aliasing.

norm

Enable standard text anti-aliasing mode (default).

crisp

Select Photoshop anti-aliasing mode crisp (textPs= only).

sharp

Select Photoshop anti-aliasing mode sharp (textPs= only).

strong

Select Photoshop anti-aliasing mode strong (textPs= only).

resMode

Controls how res is used when rendering the text

fixedRes | autoRes | maxRes

fixedRes

Use the specified resolution.

Use if the text is to be rendered in an exact size relative to the compositing canvas. Text may be clipped to the layer size (if specified) if the text box is too small. This is the only resMode option supported by textPs=.

autoRes

Adjust the resolution automatically to best fill the layer rect with the text.

Use to automatically adjust the text size so that the text box is filled as much as possible, without risk of truncation. If word wrap is enabled, text may be rewrapped at the final resolution. res is ignored if autoRes is selected. Not supported by textPs=.

maxRes

Use the specified resolution; decrease it if necessary to prevent text being truncated to the layer rect.

Use to render text at the exact specified resolution, as long as no clipping occurs. In case of clipping, the resolution is automatically decreased to ensure that all text is contained fully inside the text box. If word wrap is enabled, text may be rewrapped at the final resolution. Not supported by textPs=.

If the text layer size is not specified with size= or if only the width is specified, 'autoRes' and 'maxRes' settings are ignored and the specified resolution is used to render the text.

wordWrap

Specifies the wrapping mode.

wrap | noWrap | nbWrap

noWrap

Disable word-wrap.

wrap

Enable standard word-wrap.

Breaks long words if necessary. textPs= only supports wrap.

nbWrap

Enable non-breaking word-wrap.

Never breaks a word, even if it gets truncated at the end. Typically used in conjunction with autoRes or maxRes to ensure that long words are never broken.

Both wrap and nbwrap auto-wrap on word boundaries and hyphens.

Properties

Text layer attribute. Ignored by image, solid color, and effect layers. Applies to layer=0 if specified for layer=comp.

Default

textAttr=72,norm,fixedRes,wrap

See also

text= , textPs=, size=