> "max_bytes" corresponds to the maximum amount of memory you want to
> dedicate to the cache nodes, it doesn't need to correspond to the
> total memory available on your system; it's used to prevent the
> cache from inflating to vexing levels.
> 
> note that it does NOT account for managed FT_Face and FT_Size
> objects though.
> 
> when you perform a lookup, out-of-memory errors are detected
> _within_ the lookup, and force incremental flushes of the cache
> until enough memory is released for the lookup to succeed.
> 
> If a lookup fails with FT_Err_Out_Of_Memory, this means that your
> cache has already been completely flushed, and still no memory was
> available for the operation.

I've added this information to the documentation of FTC_Manager_New.


    Werner


_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to