[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft-devel] cubic clean up
From: |
Алексей Подтележников |
Subject: |
[ft-devel] cubic clean up |
Date: |
Mon, 8 Nov 2010 19:50:48 -0500 |
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
hinted_cubic1.png
Description: PNG image
hinted_cubic2.png
Description: PNG image
freetype-2.4.3-clean.patch
Description: Binary data
- [ft-devel] cubic clean up,
Алексей Подтележников <=
- Re: [ft-devel] cubic clean up, GRAHAM ASHER, 2010/11/09
- 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