Hi, For the project, I am thinking of the following approach: I will have to modify the internal freetype files which provide the support to the new font format drivers. Further, I will have to implement new drivers for gf, pk, tfm and vf font formats for freetype. For the drivers I will take reference from the available drivers in VFlib and implement them for freetype on the lines of already available bdf font format driver. I have an idea on how to progress for the coding part. I want to ask if this approach is correct? and do you suggest any modifications so that I can come up with a detailed proposal asap which we can discuss further. I recognize that for the `vf` font format support it is tagged as 'hard' and I fear I may have missed things that might make it more difficult than I imagined. I would really appreciate any guidance or comments.
Regards Parth On Fri, Mar 16, 2018 at 9:31 AM, Parth Wazurkar <parthwazur...@gmail.com> wrote: > 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