Skip to main content

set_font_cache_count_limit

Function set_font_cache_count_limit 

pub fn set_font_cache_count_limit(count: i32) -> i32
Expand description

Set the limit to the number of entries in the font cache, and return the previous value. If this new value is lower than the previous, it will automatically try to purge entries to meet the new limit.

  • count the maximum number of entries for the font cache