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: Behdad Esfahbod
Subject: Re: [Freetype-devel] Re: GSOC - Distance Fields
Date: Wed, 3 Jun 2020 15:20:34 -0700

Anuj,

You cannot use just the orientation of the closest contour.  That's what we did in GLyphy but is wrong for reasons you found out.  You need to calculate actual winding number of the sampling point.

On Mon, Jun 1, 2020 at 3:21 AM Anuj Verma <anujv@iitbhilai.ac.in> wrote:
Hello Werner,

> As you like.  The idea is that you can go wild within your branch, and
> that you prepare another, cleaned-up branch for final GSoC submission
> that contains commits in a logical order.


In that case I will start integrating the feature in FreeType. I have
decided to create a new renderer module and add a render mode accordingly.
And since I have a standalone implementation for generating SDF from outlines,
I will go ahead and do that first and later I will do it for bitmaps.

Thanks,

Anuj


--
behdad
http://behdad.org/

reply via email to

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