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: Tom Kacvinsky
Subject: Re: [ft-devel] Fwd: buiding ttfautohint with cmake?
Date: Wed, 13 Dec 2017 08:32:17 -0500

Have you considered CFFI? [1]

This might make things a little easier, but I am not sure since I don't have as much experience with that as I do ctypes.
Or are you more or less married to ctypes?

[1] https://cffi.readthedocs.io/en/latest/

On Wed, Dec 13, 2017 at 7:23 AM, Werner LEMBERG <address@hidden> wrote:

>> What do you think about providing function pointers to TTF_autohint
>> for memory allocation and deallocation instead?
>
> it's bit more complicated to pass a function pointer with ctypes,
> but it's possible.  Whatever you think is best,

Well, I simply don't know what is best.  I can imagine that it is
beneficial to have a single memory allocation routine for both the DLL
and the caller for garbage collection stuff and the like, but maybe
I'm completely wrong...

Any other opinions?


    Werner

_______________________________________________
Freetype-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/freetype-devel


reply via email to

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