# 使用 Homebrew, apt, dnf, MacPorts, Nix, zypper 安装 mftrace

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

## 安装

```sh
sudo av install brew:mftrace
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mftrace
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mftrace
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install mftrace
```

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

- dnf (92%):

```sh
sudo dnf install mftrace
```

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

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

- zypper (92%):

```sh
sudo zypper install mftrace
```

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

## 软件包事实

- **软件包键:** brew:mftrace
- **软件包管理器:** Homebrew
- **版本:** 1.2.20
- **来源摘要:** Trace TeX bitmap font to PFA, PFB, or TTF font
- **主页:** <https://lilypond.org/mftrace/>
- **仓库:** <https://github.com/hanwen/mftrace>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gf2pbm (别名)
- mftrace (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

mftrace grew out of the TeX and METAFONT font toolchain as a Python wrapper for converting TeX bitmap fonts into scalable outlines. The LilyPond-hosted manual describes it as tracing a TeX bitmap font into PFA, PFB, or TTF output, and notes that versions before 1.0.5 were named pktrace. The project documentation and man page identify Han-Wen Nienhuys as the author.

### 项目历史

The tool's importance is narrow but durable: it bridges METAFONT-era bitmap fonts and scalable font formats used by PostScript, PDF, and TrueType workflows. Its manual describes the reason for the conversion in package-nerd terms: scalable fonts render across printer resolutions and let Ghostscript generate better PDFs than bitmap-only inputs.

### 使用方式

In use, mftrace delegates the heavy lifting to font and tracing utilities such as METAFONT, potrace or autotrace, t1asm, and FontForge-like tooling. That makes it a glue package for TeX distributions, music engraving and document publishing systems, and maintainers converting old METAFONT designs into formats expected by modern font consumers. Its packaging across Homebrew, Debian, Fedora, MacPorts, Nix, Ubuntu, and openSUSE reflects that it is infrastructure for a specialized publishing niche rather than an end-user font editor.

### 来源

- <https://ctan.org/pkg/mftrace?lang=en>
- <https://formulae.brew.sh/formula/mftrace>
- <https://github.com/hanwen/mftrace>
- <https://github.com/hanwen/mftrace/blob/master/mftrace.1>
- <https://lilypond.org/mftrace/>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - mftrace - 1.2.20+git20191022.3b4bc2e-3: normalized package name match | Debian stable package indexes: mftrace from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Converts Metafont fonts into Type1 fonts | https://lilypond.org/mftrace/index.html
- Nix - mftrace: normalized package name match | nixpkgs package indexes: pkgs/by-name/mf/mftrace/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mftrace - 1.2.20+git20191022.3b4bc2e-3: normalized package name match | Ubuntu 24.04 LTS package indexes: mftrace from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Converts Metafont fonts into Type1 fonts | https://lilypond.org/mftrace/index.html
- dnf - mftrace - 1.2.20-20.fc45: normalized package name match | Fedora Rawhide package metadata: mftrace from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Utility for converting TeX bitmap fonts to Type 1 or TrueType fonts | http://lilypond.org/mftrace/
- zypper - mftrace - 1.2.20-4.5: normalized package name match | openSUSE Tumbleweed package metadata: mftrace from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Scalable PostScript Fonts for MetaFont | https://lilypond.org/mftrace/
- MacPorts - mftrace: normalized package name match | MacPorts ports tree: graphics/mftrace/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/mftrace.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mftrace.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
