Warning: clear_glyph_cache is deprecated since 1.10.
Clears the internal cache of glyphs used by the Pango renderer.
Use get_font_map and clear_glyph_cache instead.
This will free up some memory and GL texture resources. The cache will be automatically refilled as more text is drawn.