freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] version 3 of the spline flattening patch


From: Graham Asher
Subject: [ft-devel] version 3 of the spline flattening patch
Date: Sun, 19 Sep 2010 09:49:30 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2

Here is a third and I hope final version of the spline flattening patch, incorporating the latest version of David Bevan's cubic spline flattening routine.

Notes:

1. As with the previous versions, it solves the bug in flattening s-shaped curves (cubic with control points on both sides of the chord).

2. I have incorporated David's latest code as is. However, I have expanded his comments, most importantly (i) by giving the reference to Hain's paper in full rather than as a tinyurl, so as to make it easier to find elsewhere if it is moved or if the tinyurl service is discontinued, and (ii) by incorporating a detailed explanation he provided of the calculation of L.

3. It may be thought advisable to split the patch into two: one for cubics, which is essential because it fixes a bug, and one for conics, which is not essential but gives some speed improvement and simpler code. I leave that up to Werner.


Graham

Attachment: spline-flattening-3.patch
Description: Text document


reply via email to

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