Aha, a failing test!
Ok I lied about not needing unit tests.
First pass.
A simple glyph cache library.