Skip to main content

font_cache_limit

Function font_cache_limit 

pub fn font_cache_limit() -> usize
Expand description

Return 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. This max can be changed by calling set_font_cache_limit.