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: Werner LEMBERG
Subject: Re: [Freetype-devel] Re: GSOC - Distance Fields
Date: Tue, 16 Jun 2020 18:50:22 +0200 (CEST)

>>> - Your handling of two edges meeting at a corner is solid.  That's
>>>   exactly what we do in GLyphy.  However, I'm also now convinced
>>>   that there is no way to produce SDF from contours that might
>>>   overlap.  Imagine a "+" sign that is two straight contours.  You
>>>   cannot find the distance around the intersection.  That's really
>>>   bad news :(.  Removing overlaps is extremely tricky and so far
>>>   we've stayed away from adding to FreeType.

This is an interesting idea.  I'm very open to add an API for removing
overlaps.

>>> SkiaPathOps seems to be the most solid Open Source implementation.

URL, please.  A quick search on Google only shows video results.

>>> I don't have any suggestion as to how to proceed.  I can only say
>>> do your work without overlaps and document that as a caveat.

Sounds like a good suggestion.


    Werner



reply via email to

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