# 使用 Homebrew, apk, apt, dnf, Nix, zypper 安装 otf2bdf

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

## 安装

```sh
sudo av install brew:otf2bdf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install otf2bdf
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add otf2bdf
```

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

- Debian apt (92%):

```sh
sudo apt install otf2bdf
```

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

- dnf (92%):

```sh
sudo dnf install otf2bdf
```

  证据: Fedora Rawhide package metadata: otf2bdf 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#otf2bdf
```

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

- zypper (92%):

```sh
sudo zypper install otf2bdf
```

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

## 软件包事实

- **软件包键:** brew:otf2bdf
- **软件包管理器:** Homebrew
- **版本:** 3.1_p1
- **来源摘要:** OpenType to BDF font converter
- **主页:** <https://github.com/jirutka/otf2bdf>
- **仓库:** <https://github.com/jirutka/otf2bdf>
- **最后更新:** 2026-06-25T13:38:00+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- otf2bdf (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

otf2bdf is a small C command-line utility for turning OpenType or TrueType outline fonts into BDF bitmap fonts. Its practical niche is old-school X11 and bitmap-font workflows that still need generated BDF files at specific point sizes, resolutions, encodings, or XLFD names.

### 项目历史

The upstream README identifies version 3.1 and credits Mark Leisher of the Computing Research Lab at New Mexico State University. Its changelog shows the program lineage beginning at version 1.0 and evolving through fixes for glyph counts, XLFD naming, mapping tables, metrics, and platform build issues.

Version 3.0 was the major identity change: the changelog says it converted the old ttf2bdf lineage to FreeType 2, changed the name to otf2bdf, and renamed BDF properties from TTF-oriented names to OTF-oriented names. Version 3.1, dated 22 May 2008 in the README, focused on build fixes and glyph bitmap correctness.

### 采用历史

The tool survived mainly through distribution packaging and mirrors. Debian, Ubuntu, Fedora, Homebrew, and other package systems carry otf2bdf as a compact font-conversion utility rather than as a broad application platform.

Fedora and ManKier package descriptions emphasize the same historical distinction: otf2bdf is essentially ttf2bdf updated for FreeType 2, plus bug fixes and an option to print encoding tables from the font.

### 使用方式

Users run otf2bdf on a font file and direct the generated BDF to stdout or an output path. The man page documents controls for point size, horizontal and vertical DPI, output filename, platform and encoding IDs, spacing, foundry/typeface/weight/slant/width names, glyph subsets, and remapping files.

That option surface makes otf2bdf useful when a generated bitmap font must match X11 naming and encoding expectations, not merely when a font needs to be rasterized once.

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

otf2bdf is package-nerd catnip because it packages a narrow compatibility bridge: modern outline fonts in, plain-text BDF bitmap fonts out. It is also a reminder that package ecosystems keep tiny format converters alive long after their upstream web pages and original desktop contexts fade.

### 时间线

- Version 1.0: The changelog records the initial release of the ttf2bdf lineage.
- Version 3.0: The project moved to FreeType 2, took the otf2bdf name, and changed generated BDF properties to OTF naming.
- 22 May 2008: The README identifies version 3.1, adding FreeType include fixes and other build and bitmap-generation corrections.

### Related projects

- otf2bdf is closely related to ttf2bdf, FreeType 2, BDF bitmap font editors such as gbdfed, and X11 font naming and bitmap-font workflows.

### 来源

- <https://formulae.brew.sh/formula/otf2bdf>
- <https://github.com/jirutka/otf2bdf>
- <https://manpages.ubuntu.com/manpages/noble/man1/otf2bdf.1.html>
- <https://packages.debian.org/sid/amd64/otf2bdf>
- <https://packages.fedoraproject.org/pkgs/otf2bdf/otf2bdf/>
- <https://www.mankier.com/package/otf2bdf>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - otf2bdf - 3.1-4.1+b1: normalized package name match | Debian stable package indexes: otf2bdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generate BDF bitmap fonts from OpenType outline fonts | http://www.math.nmsu.edu/~mleisher/Software/otf2bdf/
- Nix - otf2bdf: normalized package name match | nixpkgs package indexes: pkgs/by-name/ot/otf2bdf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - otf2bdf - 3.1-4.1: normalized package name match | Ubuntu 24.04 LTS package indexes: otf2bdf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | generate BDF bitmap fonts from OpenType outline fonts | http://www.math.nmsu.edu/~mleisher/Software/otf2bdf/
- apk - otf2bdf - 3.1_p1-r0: normalized package name match | Alpine Linux edge package indexes: otf2bdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OpenType to BDF Converter | http://sofia.nmsu.edu/~mleisher/Software/otf2bdf/
- apk - otf2bdf-doc - 3.1_p1-r0: normalized package name match | Alpine Linux edge package indexes: otf2bdf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OpenType to BDF Converter (documentation) | http://sofia.nmsu.edu/~mleisher/Software/otf2bdf/
- dnf - otf2bdf - 3.1-33.fc45: normalized package name match | Fedora Rawhide package metadata: otf2bdf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Generate BDF bitmap fonts from OpenType outline fonts | http://www.math.nmsu.edu/~mleisher/Software/otf2bdf/
- zypper - otf2bdf - 3.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: otf2bdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Conversion utility for OpenType outline fonts to BDF bitmap fonts | https://github.com/jirutka/otf2bdf


## Combined YAML source

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