# 使用 Homebrew, apk, Nix, zypper, dnf, pacman 安装 font-util

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

## 安装

```sh
sudo av install brew:font-util
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install font-util
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add font-util
```

  证据: Alpine Linux edge package indexes: font-util from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#font-util
```

  证据: nixpkgs package indexes: pkgs/by-name/fo/font-util/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install font-util
```

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

- dnf (92%):

```sh
sudo dnf install xorg-x11-font-utils
```

  证据: Fedora Rawhide package metadata: xorg-x11-font-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S xorg-font-util
```

  证据: Arch Linux sync databases: xorg-font-util from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:font-util
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/font-util>
- **版本:** 1.4.2
- **来源摘要:** X.Org: Font package creation/installation utilities
- **主页:** <https://www.x.org/>
- **上游文档:** <https://www.x.org/>
- **许可证:** MIT
- **源码归档:** <https://xorg.freedesktop.org/archive/individual/font/font-util-1.4.2.tar.xz>
- **最后更新:** 2026-07-04T13:13:40+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- bdftruncate (cli)
- ucs2any (cli)
- bdftruncate (别名)
- ucs2any (别名)

## 构建依赖

- pkgconf
- util-macros

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.4.2
- 管理器更新时间: 2026-07-04
- 本地数据: OK
- 上游仓库: https://www.x.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

font-util is the X.Org utility package for font package creation and installation support.

### 项目历史

The official README describes font-util as X.Org font package creation and installation utilities. It records the primary development repository at freedesktop.org GitLab and directs questions to the Xorg mailing list.

The package sits in the modular X.Org font stack. Its README documents the `--with-fontrootdir` configure option and the fontutil pkg-config file, which allows font modules built with fontutil macros to learn a default parent directory.

### 采用历史

font-util followed X.Org's modular packaging era: the freedesktop tag list includes X.Org release tags and later font-util-specific releases. Its audience is mostly downstream packagers and maintainers of X.Org font modules rather than end-user font designers.

### 使用方式

The package supplies command-line helpers such as `bdftruncate` and `ucs2any`, plus build-time metadata/macros used when producing and installing X.Org font packages.

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

font-util is a classic infrastructure package: small, rarely visible to users, but useful for keeping the old X11 bitmap/font-module world reproducible across source builds and operating-system packages.

### 时间线

- 2004: freedesktop tag history shows X.Org-era font repository tags before modular font-util releases.
- 2007: The tag list includes early font-util 1.0 and 1.1 releases.
- 2020s: The tag list continues through font-util 1.4.x releases.

### Related projects

- font-util belongs to the X.Org font module family and is related to the broader X.Org and freedesktop.org build and release infrastructure.

### 来源

- <https://cgit.freedesktop.org/xorg/font/util/refs/tags>
- <https://gitlab.freedesktop.org/xorg/font/util>
- <https://gitlab.freedesktop.org/xorg/font/util/-/raw/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** font-util
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - font-util: normalized package name match | nixpkgs package indexes: pkgs/by-name/fo/font-util/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - font-util - 1.4.2-r0: normalized package name match | Alpine Linux edge package indexes: font-util from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | X.org font utilities | https://gitlab.freedesktop.org/xorg/font/util
- apk - font-util-dev - 1.4.2-r0: normalized package name match | Alpine Linux edge package indexes: font-util-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | X.org font utilities (development files) | https://gitlab.freedesktop.org/xorg/font/util
- apk - font-util-doc - 1.4.2-r0: normalized package name match | Alpine Linux edge package indexes: font-util-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | X.org font utilities (documentation) | https://gitlab.freedesktop.org/xorg/font/util
- dnf - xorg-x11-font-utils - 7.5-64.fc45: normalized package name match | Fedora Rawhide package metadata: xorg-x11-font-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | X.Org X11 font utilities | http://www.x.org
- pacman - xorg-font-util - 1.4.2-1: normalized package name match | Arch Linux sync databases: xorg-font-util from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | X.Org font utilities | https://xorg.freedesktop.org/
- zypper - font-util - 1.4.2-1.4: normalized package name match | openSUSE Tumbleweed package metadata: font-util from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | X.Org font package creation/installation utilities | https://xorg.freedesktop.org/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Package ecosystem packages](https://pkg.so/zh-hans/package-ecosystem-tools/) - Matched package manager, installer, dependency, registry, or publishing metadata.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [fontconfig](https://pkg.so/zh-hans/brew/fontconfig/) - Shares pkgdb curated category or tags: cli, fonts, media.
- [freetype](https://pkg.so/zh-hans/brew/freetype/) - Shares pkgdb curated category or tags: cli, fonts, media.
- [fontforge](https://pkg.so/zh-hans/brew/fontforge/) - Shares pkgdb curated category or tags: cli, fonts, media.
- [mftrace](https://pkg.so/zh-hans/brew/mftrace/) - Shares pkgdb curated category or tags: cli, fonts, media.
- [eot-utils](https://pkg.so/zh-hans/brew/eot-utils/) - Shares pkgdb curated category or tags: cli, fonts, media.
- [psftools](https://pkg.so/zh-hans/brew/psftools/) - Shares pkgdb curated category or tags: cli, fonts, media.
- [msdf-atlas-gen](https://pkg.so/zh-hans/brew/msdf-atlas-gen/) - Shares pkgdb curated category or tags: cli, fonts, media.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Shares pkgdb curated category or tags: cli, media.

## Combined YAML source

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


## 来源

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