Skip to main content

set_typeface_cache_count_limit

Function set_typeface_cache_count_limit 

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

Set the limit to the number of entries in the typeface cache, and return the previous value. Changes to this only take effect the next time each cache object is modified.

  • count the maximum number of entries for the typeface cache