[Top][All Lists]

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

Re: [ft-devel] "Inside the fastest font renderer in the world" - convers

From: Graham Asher
Subject: Re: [ft-devel] "Inside the fastest font renderer in the world" - conversion started
Date: Fri, 12 Aug 2016 08:37:22 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Hi Werner,

yes, I e-mailed him yesterday, and asked a question about his code too, but with no great hope of an early reply, knowing he's busy. I asked him why his code to handle quadratic splines used a division into a number of evenly spaced values for the t parameter rather than recursive Casteljau splitting. The question was triggered by seeing that there is a handler for quadratic splines but not for cubics in his code (it was written for TrueType only). I suspect the answer has to do with the use of floating-point rather than integer arithmetic, but if there is no good reason I will be tempted to (for now) use Casteljau splitting for cubic splines, or for both types. I am almost certain that it will have little impact on efficiency, or even improve it, but let's see.

- Graham

On 12/08/2016 06:45, Werner LEMBERG wrote:
Hello Graham,

I have started converting it to C++.  I will do that for now because
C would adds an extra layer of difficulty and slow the work down;
but don't worry, there's no rocket science, and it should be easy to
produce a C version when I've done it.
great!  Please inform Raph also (in case you haven't done so); I think
he is not on this list.

Wish me luck...
I do :-)


Freetype-devel mailing list

reply via email to

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