[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Cache subsystem question
From: |
Behdad Esfahbod |
Subject: |
Re: [ft-devel] Cache subsystem question |
Date: |
Mon, 27 Sep 2010 12:59:41 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 |
On 09/26/10 11:17, Gernot Reisinger wrote:
> Hi there,
> I am using Freetype for an embedded project and I have an issue with the
> cache subsystem.
>
> In my FTC_Face_Requester callback I create the fonts from memory with
> FT_New_Memory_Face. The font memory is dynamically allocated. I
> understand that FT_Face objects are managed by the cache subsystem
> including FT_Face destruction with FT_Done_Face. As there is no way to
> detect when the cache invokes FT_Done_Face, I can not deallocate the
> memory buffers holding the font data.
>
> Any idea how to solve that issue?
You can register a callback by setting face->generic.
behdad
> Thanks,
> Gernot