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