freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Fwd: buiding ttfautohint with cmake?


From: Cosimo Lupo
Subject: Re: [ft-devel] Fwd: buiding ttfautohint with cmake?
Date: Wed, 13 Dec 2017 17:38:55 +0000

no, as long as TTF_autohint_done frees them.
unless the user is also expected to re-allocate them

On Wed, Dec 13, 2017 at 5:35 PM Werner LEMBERG <address@hidden> wrote:

> IMO, what matters is not which specific memory allocator/deallocator
> is used (whether the defaults, or user provided ones), but that they
> match with one another (they are defined by the same library).
>
> That’s why I like the simplicity of a TTF_autohint_done function.
> That’s just a one liner.

Well, yes, but what about the callbacks?  For example,
`TA_Info_Post_Func' expects that the user modifies entries allocated
with `malloc'.  For such cases I guess we actually *need* function
pointers to allocation rountines, right?


    Werner
--
Cosimo Lupo

reply via email to

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