freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Signed distance fields: distance from any point to the gl


From: Nicolas Rougier
Subject: Re: [ft-devel] Signed distance fields: distance from any point to the glyph contours
Date: Wed, 31 Oct 2012 16:15:38 +0100


I was afraid of such answer indeed... Too bad, I will stick to my current 
implementation.
Thanks for the answer.


Nicolas


On Oct 31, 2012, at 15:25 , Alexei Podtelezhnikov wrote:

> On Tue, Oct 30, 2012 at 6:56 AM, Nicolas Rougier
> <address@hidden> wrote:
> 
>> My question relates to a more direct way to compute the signed distance and 
>> to know if anyone has already coded it by any chance ? Said differently, is 
>> there a quick way to compute the shortest signed distance from any point 
>> (x,y) to the glyph contours ?
> 
> Quick? I do not think so. A glyph outline is a collection of contours
> is a collection of straight segments and Bézier curves.For the
> straight segments it is trivial. It is very difficult but surely
> doable for the conic and cubic curves. No it is not implemented.




reply via email to

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