A jQuery plugin to provide an alternate text wrapping algorithm. I hope to get this into the CSS spec, so it's implemented as a polyfill. It already appears in the CSS Text Module Level 4 Editor's Draft.
The default text rendering algorithm is:
- Add 1 word at a time to the current line until the next word won't fit.
- Break text so that the next word starts on a new line.
- Repeat until all text has been rendered.