[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: about libass stroker
From: |
Alexei Podtelezhnikov |
Subject: |
Re: about libass stroker |
Date: |
Tue, 27 Oct 2020 09:17:54 -0400 |
On Tue, Oct 27, 2020 at 2:17 AM Vincent Torri <vincent.torri@gmail.com> wrote:
> in libass Changelog, it is said that they implement a faster stroker
> than freetype. I think that the code is done the 31st July 2017 :
>
> https://github.com/libass/libass/commits/master?after=d149636f502f5774ae1a8fb4c554b122674393b2+209&branch=master
>
> what do you think of this ?
Our stroker is dog slow because of excessive trigonometry
(https://savannah.nongnu.org/bugs/?43441). Specifically, to track
orientation, we should use Cartesian unit vectors instead of angles
(polar coordinates). Other than that, our algorithm is solid.
Alexei