Function set_font_cache_limit
pub fn set_font_cache_limit(bytes: usize) -> usizeExpand description
Specify the max number of bytes that should be used by the font cache. If the cache needs to allocate more, it will purge previous entries.
Returns the previous setting, as if font_cache_limit had been called before the new limit
was set.
bytesthe maximum number of bytes for the font cache