Implement glyph caching/lookups.