>> > 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.
>
> perfekt solution for my problem. I was not aware of the finalizer
> callback.
Could you suggest an addition to the documentation to improve it?
Werner
_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel