[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] cubic clean up
From: |
GRAHAM ASHER |
Subject: |
Re: [ft-devel] cubic clean up |
Date: |
Tue, 9 Nov 2010 08:07:51 +0000 (GMT) |
<<<<<<
There is no gain or loss in speed and the quality is the same
>>>>>>
In that case the patch should not be applied. Any change but the very simplest
has some risk. Risk should only be undergone if there is demonstrable benefit.
Graham
----- Original Message ----
From: Алексей Подтележников <address@hidden>
To: freetype-devel <address@hidden>
Sent: Tuesday, 9 November, 2010 0:50:48
Subject: [ft-devel] cubic clean up
Hi,
This patch should not be controversial. It simplifies the code.
1) It replaces 2 comparisons in FT_MAX and FT_MIN with a single one.
2) It implements a simpler and better check for closeness of control
points to the chord
There is no gain or loss in speed and the quality is the same
(see images).
More on 2). Currently the control points are required to be between
the parallel lines through the chord ends. The proposed check requires
that they are inside a circle. Given an earlier check for the
perpendicular distance to the chord, these are actually almost
equivalent. So the whole patch is just a clean up.
Thanks,
Alexei
- [ft-devel] cubic clean up, Алексей Подтележников, 2010/11/08
- Re: [ft-devel] cubic clean up,
GRAHAM ASHER <=
- Re: [ft-devel] cubic clean up, Алексей Подтележников, 2010/11/10
- Re: [ft-devel] cubic clean up, Алексей Подтележников, 2010/11/11
- Re: [ft-devel] cubic clean up, Werner LEMBERG, 2010/11/12
- RE: [ft-devel] cubic clean up, David Bevan, 2010/11/12
- Re: [ft-devel] cubic clean up, Алексей Подтележников, 2010/11/12
- RE: [ft-devel] cubic clean up, David Bevan, 2010/11/12
- Re: [ft-devel] cubic clean up, GRAHAM ASHER, 2010/11/12
- Re: [ft-devel] cubic clean up, Алексей Подтележников, 2010/11/12
- Re: [ft-devel] cubic clean up, Алексей Подтележников, 2010/11/12
- Re: [ft-devel] cubic clean up, Behdad Esfahbod, 2010/11/12