TTX is a tool to convert OpenType and TrueType fonts to and from XML. FontTools is the Python library which implements TTX as well as some other font manipulation tools. It supports TrueType, OpenType, AFM and to an extent Type 1 and some Mac-specific formats. Use this tag for questions about manipulating fonts with these tools.
TTX/FontTools
TTX/FontTools is a suite of tools written in Python for manipulating fonts.
The flagship is TTX, a tool to convert OpenType and TrueType font files to an XML-based format (also called TTX), and back. This lets you edit TTF or OTF files with any text editor.
The FontTools library currently reads and writes TrueType font files, and reads font files of several other types, including PostScript Type 1.
The project uses the MIT License, as published by the Open Source Initiative.
Table of Contents