Adobe Photoshop CS5 Object Library JS: TextComposer

Photoshop CS5

 The text composer.

Value

NameDescriptionValue
TextComposer.ADOBEEVERYLINEConsiders a network of break points for a range of lines and thus optimizes earlier lines in the paragraph to eliminate especially unattractive breaks later on. Results in more even spacing and fewer hyphens.
The Adobe Every-line composer approaches composition by identifying possible breakpoints, evaluating them, and assigning a weighted penalty based on these principles: Highest importance is given to evenness of letter and word spacing; Possible breakpoints are evaluated and penalized according to how much they deviate from optimal spacing; Hyphenation is avoided when possible; Breakpoints that require hyphenation are penalized more than those that create uneven spacing; Good breakpoints are preferred over bad breakpoints.
int 2
TextComposer.ADOBESINGLELINEOffers a traditional approach to composing type one line at a time. Useful if you prefer to have manual control over how lines break.
Uses the following principles when considering a breakpoint: Compressed or expanded word spacing is preferable to hyphenation; Hyphenation is preferable to compressed or expanded letter spacing; If spacing must be adjusted, compression is better than expansion.
int 1

Usage

As property

TextItem.textComposer

Jongware, 28-Aug-2012 v3.0.3iContents :: Index