Table of Contents

<--   Back

Convert Variable Font to Static Font Using Python


fonttools

A library to manipulate font files from Python1.

Install

pip install fonttools

Convert Font

fonttools varLib.mutator ./font.ttf wght=400 wdth=85

Documentation: https://fonttools.readthedocs.io/en/latest/varLib/mutator.html#module-fontTools.varLib.mutator

Footnotes

  1. https://github.com/fonttools/fonttools.


Open GitHub Discussions