Thank you so much Ewald.
I'll check that out.

Regards
Parth

On Fri, Mar 16, 2018 at 9:13 AM, Ewald Hew <ewald...@gmail.com> wrote:

> Hi Parth,
>
> > I am unable to figure out the working of `FT_Face_InitFunc` in the
> `ftdrv.h`
> > file.
> > particularly, how does the call to `init_face` function invokes the
> > particular font format's driver.
> > Please help.
>
> I suggest you read the article here
> <https://www.freetype.org/freetype2/docs/design/design-6.html>, which
> goes into some detail about how interfaces are being implemented in
> FreeType.
>
> Basically, `FT_Face_InitFunc' is a function pointer type (with its
> signature), through which the driver-specific implementation of
> `init_face' can be set, per module. Look up the `FT_DEFINE_DRIVER'
> macro and where it's being used.
>
> Ewald
>
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to