# 使用 Homebrew, apt, dnf, zypper 安装 fonttools

查看 fonttools 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:fonttools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fonttools
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install fonttools
```

  证据: Debian stable package indexes: fonttools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install fonttools
```

  证据: Fedora Rawhide package metadata: fonttools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install python313-FontTools
```

  证据: openSUSE Tumbleweed package metadata: python313-FontTools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:fonttools
- **软件包管理器:** Homebrew
- **版本:** 4.63.0
- **来源摘要:** Library for manipulating fonts
- **主页:** <https://github.com/fonttools/fonttools>
- **仓库:** <https://github.com/fonttools/fonttools>
- **最后更新:** 2026-05-15T16:19:17Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fonttools (别名)
- pyftmerge (别名)
- pyftsubset (别名)
- ttx (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.63.0
## 项目历史与用法

fontTools is a Python library and command-line toolkit for manipulating fonts, best known for TTX, which converts TrueType and OpenType fonts to and from an XML representation.

### 项目历史

The official developer documentation says fontTools was started by Just van Rossum in 1999 and maintained as an open-source project on SourceForge. In 2008, Paul Wise began helping with stability maintenance. In 2013, Behdad Esfahbod began a friendly fork, reviewing the codebase and adding features and support for new font formats.

The modern README describes fontTools as a Python library for manipulating fonts with support for TrueType, OpenType, AFM, some Type 1 and Mac-specific formats, and the TTX tool for XML round-tripping. The current documentation presents it as a family of libraries and utilities for font engineering.

### 采用历史

fontTools became a core Python package in font production because it exposes both library APIs and command-line tools. The docs list utilities such as `ttx`, `pyftsubset`, `pyftmerge`, and the `fonttools` meta-tool, plus modules for OpenType Layout, UFO, variable fonts, color fonts, subsetting, feature files, and more.

The release tags show early `FontTools-1.0` and `FontTools-2.x` names alongside a long-running 4.x series. The README documents pip installation and optional extras, matching its role as both a developer dependency and a command-line package.

### 使用方式

Users install it with `pip install fonttools`, run `ttx` to dump and rebuild OpenType or TrueType fonts as XML, run `pyftsubset` to create smaller web or application fonts, and import modules such as `fontTools.ttLib` for programmatic font editing.

### 为什么软件包爱好者会关心

fontTools is package-nerd significant because it is the standard Swiss-army knife of Python font engineering. It shows up in build systems, webfont pipelines, variable-font workflows, distro QA, and one-off debugging because it can inspect, mutate, subset, merge, and serialize complex font formats from scripts.

### 时间线

- 1999: Just van Rossum started fontTools.
- 2008: Paul Wise began helping with stability maintenance.
- 2013: Behdad Esfahbod began a friendly fork adding new features and format support.
- 2020s: The 4.x series continued active releases and broad OpenType, variable-font, and subsetting work.
- 2026: The NEWS file records 4.63.0 with support for Apple Color Emoji `bgcl` and Incremental Font Transfer tables.

### Related projects

- fontTools is related to TTX, RoboFog-era font tooling, UFO libraries, OpenType Layout tooling, AFDKO feature workflows, variable-font build pipelines, and downstream tools that use `fontTools.ttLib`.

### 来源

- <https://fonttools.readthedocs.io/en/latest/>
- <https://github.com/fonttools/fonttools>
- <https://raw.githubusercontent.com/fonttools/fonttools/main/Doc/source/developer.rst>
- <https://raw.githubusercontent.com/fonttools/fonttools/main/README.rst>


## 安全说明

没有找到 fonttools 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Debian apt - fonttools - 4.57.0-1+deb13u1: normalized package name match | Debian stable package indexes: fonttools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Converts OpenType and TrueType fonts to and from XML (Executables) | https://github.com/fonttools/fonttools
- Debian apt - python-fonttools-doc - 4.57.0-1+deb13u1: normalized package name match | Debian stable package indexes: python-fonttools-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Converts OpenType and TrueType fonts to and from XML (Documentation) | https://github.com/fonttools/fonttools
- Debian apt - python3-fonttools - 4.57.0-1+deb13u1: normalized package name match | Debian stable package indexes: python3-fonttools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Converts OpenType and TrueType fonts to and from XML (Python 3 Library) | https://github.com/fonttools/fonttools
- Ubuntu apt - fonttools - 4.46.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: fonttools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Converts OpenType and TrueType fonts to and from XML (Executables) | https://github.com/fonttools/fonttools
- Ubuntu apt - python-fonttools-doc - 4.46.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: python-fonttools-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Converts OpenType and TrueType fonts to and from XML (Documentation) | https://github.com/fonttools/fonttools
- Ubuntu apt - python3-fonttools - 4.46.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-fonttools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Converts OpenType and TrueType fonts to and from XML (Python 3 Library) | https://github.com/fonttools/fonttools
- dnf - fonttools - 4.63.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: fonttools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools to manipulate font files | https://github.com/fonttools/fonttools/
- dnf - python3-fonttools - 4.63.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-fonttools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python 3 fonttools library | https://github.com/fonttools/fonttools/
- dnf - python3-fonttools+graphite - 4.63.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-fonttools+graphite from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for python3-fonttools: graphite extras | https://github.com/fonttools/fonttools/
- dnf - python3-fonttools+interpolatable - 4.63.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-fonttools+interpolatable from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for python3-fonttools: interpolatable extras | https://github.com/fonttools/fonttools/
- dnf - python3-fonttools+lxml - 4.63.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-fonttools+lxml from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for python3-fonttools: lxml extras | https://github.com/fonttools/fonttools/
- dnf - python3-fonttools+plot - 4.63.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-fonttools+plot from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for python3-fonttools: plot extras | https://github.com/fonttools/fonttools/
- dnf - python3-fonttools+repacker - 4.63.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-fonttools+repacker from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for python3-fonttools: repacker extras | https://github.com/fonttools/fonttools/
- dnf - python3-fonttools+symfont - 4.63.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-fonttools+symfont from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for python3-fonttools: symfont extras | https://github.com/fonttools/fonttools/
- dnf - python3-fonttools+type1 - 4.63.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-fonttools+type1 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for python3-fonttools: type1 extras | https://github.com/fonttools/fonttools/
- dnf - python3-fonttools+ufo - 4.63.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: python3-fonttools+ufo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for python3-fonttools: ufo extras | https://github.com/fonttools/fonttools/


## Combined YAML source

View the package source record on GitHub. [combined/fonttools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fonttools.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
