Word wrap for variable width fonts.
An example:
use Face;
use ;
// Load a TrueType font using `ttf_parser`
let font_data = read.expect;
let font_face = from_slice.expect;
// Set up wrapping options, split on whitespace:
let word_wrap = new;
// Use the `Wrap` trait and split the `&str`
let poem = "Mary had a little lamb whose fleece was white as snow";
let lines: = poem.wrap.collect;
assert_eq!;