GoodBoyDigital/pixi.js — pull request #390 by noffle (2013-11-04 07:53:03+00:00)
Title: Adds word wrapping on Pixi.TEXT.

This wraps lines of text using a greedy algorithm that optimizes for fewest lines of text given an arbitrary horizontal space. The old method was doing wrapping on only the character level.

Fixes #386.