freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] [PATCH 1/2] Improve FT_Outline_Embolden for the unintende


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] [PATCH 1/2] Improve FT_Outline_Embolden for the unintended arfifacts problem (#45597).
Date: Thu, 4 Oct 2018 15:29:42 -0400

> +  two coalition equation solution:
> +    det = i.y * o.x - i.x * o.y , det != 0
> +    shift.x = strength * ( i.x - o.x ) / det
> +    shift.y = strength * ( i.y - o.y ) / det

So your algorithm is exactly the same as the one implemented
currently. The tricky part is how you deal with very short collapsing
segments, the segments of zero length, and your threshold on the
determinant. Can you please elaborate on that and explain why your
algorithm is superior?



reply via email to

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