When I added the font.lazy setting, I made glyf table non-lazy by default. This is helpful to users who typically access glyphs like: glyf_table.glyphs[glyfname] instead of the correct way: glyf_table[glyfname] and also forget to call expand() on the glyph. However, this significantly slows down most scripts that load the font without lazy=True... As such, add a third mode to laziness. By default lazy=None and does NOT expand glyphs. If lazy=False is passed in, all glyphs are loaded. I hope this is an acceptable middle ground and not too confusing.
What it is ?
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.
Quick start
python setup.py install
From your command line type the above command to get fontools installed on your system.
Installation
See install.txt in the 'Doc' subdirectory for instructions on how to build and install TTX/FontTools from the sources.
Documentation
What is TTX ?
See documentation.html in the "Doc" subdirectory for TTX usage instructions and information about the TTX file format.
Community
License
See "LICENSE.txt" for licensing information.
Have fun!
Just van Rossum just@letterror.com
Description
Languages
Python
99.9%