commit | 94968f31518249bff775201d3b3b47bac8ea6271 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Dec 04 04:11:06 2013 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Dec 04 04:11:06 2013 -0500 |
tree | 32d8528dd44aae208d9c76013747f67801ed8626 | |
parent | 5a754ddd55d0728ca5c06dd585bbf517de196f34 [diff] |
Use pure-Python StringIO, not cStringIO misc.psLib tries to subclass StringIO. It doesn't work with the cStringIO version. Change doesn't seem to affect performance of CFF, which is the biggest StringIO user. https://github.com/behdad/fonttools/commit/7279302238a2d57d609cab45934615c4d959c88c#commitcomment-4767054
Quoting from TTX/FontTools Sourceforge Project
a tool to convert OpenType and TrueType fonts to and from XML. FontTools is a library for manipulating fonts, written in Python. It supports TrueType, OpenType, AFM and to an extent Type 1 and some Mac-specific formats.
python setup.py install
From your command line type the above command to get fontools installed on your system.
See install.txt in the 'Doc' subdirectory for instructions on how to build and install TTX/FontTools from the sources.
See documentation.html in the "Doc" subdirectory for TTX usage instructions and information about the TTX file format.
See "LICENSE.txt" for licensing information.
Have fun!
Just van Rossum just@letterror.com