Add glyph caching