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, modifyin
What it does
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
-
Extracted from upstream docs: https://raw.githubusercontent.com/fonttools/fonttools/HEAD/README.rst
Source
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,314 chars)