freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] FT_Init_FreeType allocating memory before I get a chance


From: Werner LEMBERG
Subject: Re: [ft-devel] FT_Init_FreeType allocating memory before I get a chance to set the allocators.
Date: Thu, 25 Jun 2009 16:48:51 +0200 (CEST)

>> I wonder whether this code from FT_Init_FreeType
>>   (*alibrary)->version_major = FREETYPE_MAJOR;
>>   (*alibrary)->version_minor = FREETYPE_MINOR;
>>   (*alibrary)->version_patch = FREETYPE_PATCH;
>> should be moved to FT_New_Library to make FT_Library_Version more
>> generic.
>>
>> I suppose that you don't call FT_Init_FreeType at all if using
>> FT_New_Library, right?  Do you use FT_Add_Default_Modules to
>> register all modules or do you specify them directly with
>> FT_Add_Modules?

I've done this now.

> Yes, we use FT_New_Library followed by FT_Add_Default_Modules.
> The original plan was actually to add modules manually, but why do
> more work :D

I've documented this better.


    Werner




reply via email to

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