# 使用 Homebrew, apk, dnf, MacPorts, Nix, zypper 安装 bdftopcf

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

## 安装

```sh
sudo av install brew:bdftopcf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bdftopcf
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bdftopcf
```

  证据: MacPorts ports tree: x11/bdftopcf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add bdftopcf
```

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

- dnf (92%):

```sh
sudo dnf install bdftopcf
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#bdftopcf
```

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

- zypper (92%):

```sh
sudo zypper install bdftopcf
```

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

## 软件包事实

- **软件包键:** brew:bdftopcf
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bdftopcf>
- **版本:** 1.1.2
- **来源摘要:** Convert X font from Bitmap Distribution Format to Portable Compiled Format
- **主页:** <https://gitlab.freedesktop.org/xorg/util/bdftopcf>
- **上游文档:** <https://gitlab.freedesktop.org/xorg/util/bdftopcf>
- **许可证:** MIT-open-group
- **源码归档:** <https://www.x.org/releases/individual/util/bdftopcf-1.1.2.tar.xz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- bdftopcf (cli)
- bdftopcf (别名)

## 构建依赖

- pkgconf
- xorgproto

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.1.2
- 本地数据: OK
- 上游仓库: https://gitlab.freedesktop.org/xorg/util/bdftopcf
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

bdftopcf is a small X.Org utility that compiles BDF bitmap fonts into PCF, the Portable Compiled Format used by the X server and X font server. It is not glamorous, but it is part of the plumbing that made bitmap font distribution and loading practical across architectures.

### 项目历史

The X.Org manpage carries MIT X Consortium and Open Group copyright notices from the 1990s and identifies Keith Packard as the author. The current upstream README describes bdftopcf as a font compiler whose output is portable across architectures while still allowing fast native reads on the architecture it was optimized for.

Like many X11 utilities, bdftopcf moved through the modular X.Org era. The freedesktop GitLab tag history includes modular-copy and X.Org 7.0-era tags in 2005, followed by standalone bdftopcf 1.0.x and 1.1.x releases through bdftopcf-1.1.2 in 2024.

### 采用历史

bdftopcf is adopted wherever traditional X11 bitmap-font tooling is still packaged. The input package facts show it in Homebrew, Alpine, Fedora, MacPorts, Nix, and openSUSE packaging, reflecting its role as a compatibility and build utility rather than an end-user application.

### 使用方式

The documented command takes a .bdf font and writes PCF to standard output or an output file. Options set glyph padding, scanline unit, bit order, byte order, terminal-font conversion, ink-metric handling, and output filename.

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

bdftopcf is package-nerd significant because it is a surviving shard of the X11 bitmap font toolchain. Its value is mostly infrastructural: font packages, old X deployments, reproducible builds, and compatibility stacks need tiny tools like this to keep legacy formats buildable.

### 时间线

- 1990s: bdftopcf is part of the MIT X Consortium/Open Group X11 utility set.
- 2001: The XFree86/X.Org manpage revisions document the tool and Keith Packard authorship.
- 2005: X.Org modularization tags appear in the upstream history.
- 2007: bdftopcf-1.0.1 appears as an early standalone util release.
- 2024: bdftopcf-1.1.2 is tagged upstream on freedesktop GitLab.

### Related projects

- BDF is the text bitmap font source format converted by the tool.
- PCF is the compiled bitmap font format produced by the tool.
- X.Org Server and the historical X font server are the consumers named by the upstream README and manpage.

### 来源

- <https://gitlab.freedesktop.org/api/v4/projects/xorg%2Futil%2Fbdftopcf/repository/tags>
- <https://gitlab.freedesktop.org/xorg/util/bdftopcf/-/raw/master/README.md>
- <https://www.x.org/archive/X11R7.5/doc/man/man1/bdftopcf.1.html>
- source_facts.package-manager


## 安全说明

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:** bdftopcf
- **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 - bdftopcf: normalized package name match | nixpkgs package indexes: pkgs/by-name/bd/bdftopcf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - bdftopcf - 1.1.2-r0: normalized package name match | Alpine Linux edge package indexes: bdftopcf from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | X.Org font utility | https://xorg.freedesktop.org/
- apk - bdftopcf-doc - 1.1.2-r0: normalized package name match | Alpine Linux edge package indexes: bdftopcf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | X.Org font utility (documentation) | https://xorg.freedesktop.org/
- dnf - bdftopcf - 1.1.2-6.fc45: normalized package name match | Fedora Rawhide package metadata: bdftopcf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Font compiler for the X server and font server | https://www.x.org
- zypper - bdftopcf - 1.1.2-1.7: normalized package name match | openSUSE Tumbleweed package metadata: bdftopcf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Font compiler for the X server and font server | http://xorg.freedesktop.org/
- MacPorts - bdftopcf: normalized package name match | MacPorts ports tree: x11/bdftopcf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing 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.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [mkfontscale](https://pkg.so/zh-hans/brew/mkfontscale/) - Shares pkgdb curated category or tags: cli, fonts, system, x11, xorg.
- [xorg-server](https://pkg.so/zh-hans/brew/xorg-server/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xinput](https://pkg.so/zh-hans/brew/xinput/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xauth](https://pkg.so/zh-hans/brew/xauth/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xkbcomp](https://pkg.so/zh-hans/brew/xkbcomp/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [libxcvt](https://pkg.so/zh-hans/brew/libxcvt/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [libxpm](https://pkg.so/zh-hans/brew/libxpm/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xeyes](https://pkg.so/zh-hans/brew/xeyes/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [quartz-wm](https://pkg.so/zh-hans/brew/quartz-wm/) - Local package facts share a topical domain. Shared terms: cli, system, x11, xorg.
- [twm](https://pkg.so/zh-hans/brew/twm/) - Local package facts share a topical domain. Shared terms: cli, system, x11, xorg.
- [xcursorgen](https://pkg.so/zh-hans/brew/xcursorgen/) - Local package facts share a topical domain. Shared terms: cli, system, x11, xorg.

## Combined YAML source

View the package source record on GitHub. [combined/bdftopcf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bdftopcf.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
