[reportlab-users] Marius' TTFontFile breaks in 2.2

Just van Rossum reportlab-users@reportlab.com
Tue, 28 May 2002 14:29:20 +0200


Marius Gedminas wrote:

> Perhaps the best way out of here would be to make calcChecksum a C
> function?

Probably. I use NumPy for this function in TTX/FontTools*, which is pretty fast.
A compromise would be use NumPy when available and fall back to a Python
solution if it isn't.

*) see calcChecksum() near the end of
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/fonttools/fonttools/Lib/fontTools
/ttLib/sfnt.py?rev=1.8&content-type=text/vnd.viewcvs-markup

Just