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.
67 stars
0 votes
0 copies
4 views
Added June 8, 2026
ai-agentspythongogitapisecurity
Works with
api
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Fonttools Python Font Manipulation Subsetting?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-fonttools-python-font-manipulation-subsetting)
---
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/)