On Wed, May 6, 2020 at 10:21 PM ANUJ VERMA <[email protected]> wrote: > > It would be a separate FT_Renderer module. > > The only change in FreeType might be FT_RENDER_MODE_DF, or maybe, some > > interface to add that dynamically. > > This is what I have planned to do for vector fonts, since the FT_Renderer > module converts glyph's outline to bitmap. > And for bitmap fonts I will add something like FT_Bitmap_Convert which will > convert the existing bitmap to distance field. > Please correct me if I am wrong.
You distance field module can accept either glyph format and do what you please. Then it would return a glyph in the distance field format as you define it. We do need FT_GLYPH_FORMAT_DF too. > > It is highly desirable to use version control to track your work progress, > > for example, with git. > > Can I create a separate branch in the freetype2 repository as suggested by > Werner? > (https://lists.nongnu.org/archive/html/freetype-devel/2020-05/msg00033.html) [...] > Although I don't understand 'private branch'. Are you talking about local > branch? What am I missing here? You should not do you development on master. Alexei
