# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 1.1.2
- **来源摘要:** Convert X font from Bitmap Distribution Format to Portable Compiled Format
- **主页:** <https://gitlab.freedesktop.org/xorg/util/bdftopcf>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bdftopcf (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
