freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] Dynamic Memory


From: David Turner
Subject: Re: [Devel] Dynamic Memory
Date: Mon, 22 Oct 2001 11:36:28 +0200

Hello Peter,

> Hi
> 
> Is there a version of FreeType that doens't make use of malloc/realloc/free? 
> Or alternatively, is the dynamic memory quite limited during TrueType font
> rendering, i.e. is a single buffer alloc'ed at start-up and used throughout 
> or are many blocks allocated?
> 

FreeType can use any memory manager that you give it. For examples, see
the "ftsystem.h" header files, as well as the FT_New_Memory_Custom function

you'll need dynamic reallocation to use it, so the single buffer approach
is not a very good idea..

Regards,

- David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]