fonttools is a comprehensive Python library for manipulating font files, including TrueType, OpenType, WOFF, and WOFF2 formats. It includes the TTX tool for converting fonts to and from XML, a font subsetting utility for reducing font file sizes, and APIs for inspecting, modifying, and generating font files programmatically.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "fonttools Python Font Manipulation and Subsetting Library"
slug: "fonttools-python-font-manipulation-subsetting"
description: "fonttools is a comprehensive Python library for manipulating font files, including TrueType, OpenType, WOFF, and WOFF2 formats. It includes the TTX tool for converting fonts to and from XML, a font subsetting utility for reducing font file sizes, and APIs for inspecting, modifying, and generating font files programmatically."
github_stars: 5067
verification: "security_reviewed"
source: "https://github.com/fonttools/fonttools"
author: "FontTools"
category: "Developer Tools"
framework: "Custom Agents"
tool_ecosystem:
github_repo: "fonttools/fonttools"
github_stars: 5067
---
# fonttools Python Font Manipulation and Subsetting Library
fonttools is a comprehensive Python library for manipulating font files, including TrueType, OpenType, WOFF, and WOFF2 formats. It includes the TTX tool for converting fonts to and from XML, a font subsetting utility for reducing font file sizes, and APIs for inspecting, modifying, and generating font files programmatically.
## Installation
Use the upstream install or setup path that matches your environment:
- pip install fonttools
- git clone https://github.com/fonttools/fonttools.git
- pip install -e .
- pip install fonttools[ufo,lxml,woff,unicode]
Requirements and caveats from upstream:
- | fontTools is a library for manipulating fonts, written in Python. The
- FontTools requires Python <http://www.python.org/download/>__ 3.10
- or later. We try to follow the same schedule of minimum Python version support as
Basic usage or getting-started notes:
- ~~~~~~~~~~~~
- NumPy (see NEP 29 <https://numpy.org/neps/nep-0029-deprecation_policy.html>__).
- .. code:: sh
- Source: https://github.com/fonttools/fonttools
- Extracted from upstream docs: https://raw.githubusercontent.com/fonttools/fonttools/HEAD/README.rst
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/fonttools-python-font-manipulation-subsetting/)
No comments yet. Be the first to comment!