optimize font glyph cache