freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype-devel] Re: GSOC - Distance Fields


From: David Turner
Subject: Re: [Freetype-devel] Re: GSOC - Distance Fields
Date: Mon, 18 May 2020 08:50:02 +0200

I agree with Alexei that it's probably a good idea to start writing a prototype with whatever language / format you feel the more fluent first so we can look at the algorithms and the outputted data.
This can later be rewritten into something more FreeType-specific (e.g. fixed-floats are better than floats if you have simple ranges like [-1.0..1.0] in general).

- David

Le mer. 13 mai 2020 à 16:59, Alexei Podtelezhnikov <address@hidden> a écrit :
On Wed, May 13, 2020 at 10:37 AM Anuj Verma <address@hidden> wrote:
>
> > What do you need from FreeType to calculate DF?
> > Do you see or know
> where to find everything you need?
>
> I will need the bitmap and/or the outline depending upon the type of font. And yes I know where to find those. They both can be accessed from FT_Face.

Great! Without further delay, go ahead and write a standalone program
that calculates DF for a outline glyph in whatever format you choose
or is appropriate. This is a lot of work by itself. How are you going
to calculate it straight from Bezier outlines should concern you much
more than memory issues.

We can think about integrating it into FreeType ,once you have a
standalone implementation.

Alexei


reply via email to

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