[prev in list] [next in list] [prev in thread] [next in thread]
List: freetype-devel
Subject: Re: [ft-devel] Re: Problem with FreeType cache system
From: Werner LEMBERG <wl () gnu ! org>
Date: 2005-09-23 5:14:00
Message-ID: 20050923.071400.172533451.wl () gnu ! org
[Download RAW message or body]
> "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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic