[ft-devel] Determining Upper Bound of memory consumption for a system using FT cache subsystem

2010-03-10 Thread Maggy Anastasia
Dear FreeType Developers, I have a few questions regarding freetype memory consumption upper bound; I am using Freetyper version 2.3.7 (1) static array: currently we know that all memory consumption by freetype is done through malloc calls and its variants. However, is there any other memory

Re: [ft-devel] Known problem with FT_StreamRec::base being non-NULL also for file-based streams?

2010-03-10 Thread Behdad Esfahbod
On 03/05/2010 02:26 AM, mpsuz...@hiroshima-u.ac.jp wrote: Checking the source code, I wonder if I should also check for (face_flags FT_FACE_FLAG_EXTERNAL_STREAM) to detect whether it's an mmapped stream or the user provided it (and hence we cannot mprotect). The docs say: Don't read or

[ft-devel] [FYI] Re: Getting pathname from FT_Face (patch for future discussion)

2010-03-10 Thread mpsuzuki
Attached (get-stream-info.diff) is a revised patch with a feature to get the info about the origin of the memory in FT_Stream object, which is inspired by recent discussion with Behdad about mprotect() to the buffer in FT_Stream object. Sample code (get-stream-info.c) invokes the new APIs