textAttr textattr

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

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

It 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).

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

off | norm | crisp | sharp | strong | smooth

table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 html-authored no-header
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).

Controls how res is used when rendering the text

fixedRes | autoRes | maxRes

table 0-row-2 1-row-2 2-row-2 html-authored no-header

Use the specified resolution.

Use if the text is to be rendered in an exact size relative to the composited 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= .


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. The res is ignored if autoRes is selected. Not supported by textPs= .


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

Use to render text at the specified resolution, as long as no clipping occurs. If there is 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. In such cases, the specified resolution is used to render the text.


Specifies the wrapping mode.

wrap | noWrap | nbWrap

table 0-row-2 1-row-2 2-row-2 html-authored no-header
noWrap Disable word-wrap.

Enable standard word-wrap.

It breaks long words, if necessary. textPs= only supports wrap .


Enable non-breaking word-wrap.

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

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

Properties section-114ca0b8585b403c873e2251478ad1d5

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

Default section-855230f5330b4afc8a933f00a1ed4612


See also section-68b0d2e2d0474e2097a9331ae272c224

text= , textPs=, size=