freetype-devel
[Top][All Lists]
Advanced

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

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


From: Graham Asher
Subject: Re: [ft-devel] "Inside the fastest font renderer in the world" - first C version attached
Date: Thu, 18 Aug 2016 17:41:39 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

I have successfully converted part of Raph Levien's code - that is, the floating-point rasterizer, not the TTF parser - into C, and it seems to work well, although I have run only a few small tests so far and have not yet benchmarked the speed.

One point that I may have to address is that there are declarations after statements, which seems to be OK in C nowadays, but wasn't formerly, I know; but that can be fixed trivially.

I have added code to handle cubic splines.

The code is attached. Naturally I have credited Raph and used the same license. There are documentation comments in the source.

- Graham

Attachment: raster_fp.c
Description: Text document

Attachment: raster_fp.h
Description: Text document


reply via email to

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