fonttools is a Python library written to manipulate text font files and to convert between different font file formats. The program supports several file formats including TTX, TrueType and OpenType among others.
Using fonttools on RCC Resources
The fonttools library will need to be installed by each individual user using a virtual environment or a conda environment. The process for this is detailed below. For detailed examples and usage documentation, refer to the main website for the library.
python3 venv ~/MYENV # You can change MYENV to any name you want source ~/MYENV/bin/activate pip install fontTools
Once you do this, then, as long as you are in your virtual environment, you will be able to run the following code and use fontTools:
python3 >> import fontTools