Skip to main content
Participant
January 19, 2010
Answered

automatic hyphenation

  • January 19, 2010
  • 1 reply
  • 703 views

With textAlign = TextAlign.JUSTIFY,

how to handle automatic hyphenation and line breaks ?

There is an example on the interactive feature demo, "columns" section

http://labs.adobe.com/technologies/textlayout/

Words ending lines are smartly breaked with hyphens, when necessary.

Is it about locale ? Or inserting soft hyphen characters manually ?

Thanks

http://labs.adobe.com/technologies/textlayout/

This topic has been closed for replies.
Correct answer robin_briggs

TLF doesn't support automatic or dynamic hyphenation. If the application that supplies text that has the soft or discretionary hyphens included, then it will use those hyphens when breaking the text. So you would need to have either manually inserted hyphens or run an algorithmic hyphenator on the text.

1 reply

robin_briggsCorrect answer
Adobe Employee
January 20, 2010

TLF doesn't support automatic or dynamic hyphenation. If the application that supplies text that has the soft or discretionary hyphens included, then it will use those hyphens when breaking the text. So you would need to have either manually inserted hyphens or run an algorithmic hyphenator on the text.