[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] controlling FreeType modules
From: |
Miles Bader |
Subject: |
Re: [ft-devel] controlling FreeType modules |
Date: |
Wed, 22 Aug 2012 17:57:15 +0900 |
2012/8/22 Werner LEMBERG <address@hidden>:
>> But since (AFAICT) the property mechanism is generic, the type of
>> the data structure wouldn't be known except to the eventual caller
>> of FT_Property_Get. Given this, how can FT_Property_Set know the
>> size of the data structure passed in, to malloc/copy it?
>
> The property mechanism has a generic interface to accept any data
> structures so that it stays extensible, but the data structures
> themselves aren't generic; they are always controlled by FreeType.
Sure. I'm just confused how FT_Property_Set figures out the length,
presuming it's FT_Property_Set that does the copying (I'm guessing it
would have to be, as the caller of FT_Property_Set is outside of
freetype, and the actual point of use of the data structure, which
obviously would know the type, is too late).
Thanks,
-miles
--
Cat is power. Cat is peace.
Re: [ft-devel] controlling FreeType modules, Werner LEMBERG, 2012/08/28
- Re: [ft-devel] controlling FreeType modules, Alexei Podtelezhnikov, 2012/08/29
- Re: [ft-devel] controlling FreeType modules, Behdad Esfahbod, 2012/08/29
- Re: [ft-devel] controlling FreeType modules, Werner LEMBERG, 2012/08/29
- Re: [ft-devel] controlling FreeType modules, Alexei Podtelezhnikov, 2012/08/30
- Re: [ft-devel] controlling FreeType modules, Akira TAGOH, 2012/08/30
- Re: [ft-devel] controlling FreeType modules, suzuki toshiya, 2012/08/30
- Re: [ft-devel] controlling FreeType modules, Werner LEMBERG, 2012/08/30
Message not availableRe: [ft-devel] controlling FreeType modules, Ken Sharp, 2012/08/30
Re: [ft-devel] controlling FreeType modules, Behdad Esfahbod, 2012/08/23