GoodBoyDigital/pixi.js — pull request #391 by noffle (2013-11-04 21:06:15+00:00)
Title: Fixes #386; adds word wrapping to Pixi.TEXT.

This wraps lines of text using a simple greedy algorithm that optimizes for fewest lines given an arbitrary horizontal bound.