Word wrapping implementation in ruby. Includes a naive greedy algorithm (fast) and Knuth's minimum raggedness algorithm from TeX (slower for long texts).
Stephen Pike
December 30, 2012 8:14pm
bsd