# 使用 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mftrace>
- **版本:** 1.2.20
- **来源摘要:** Trace TeX bitmap font to PFA, PFB, or TTF font
- **主页:** <https://lilypond.org/mftrace/>
- **仓库:** <https://github.com/hanwen/mftrace>
- **上游文档:** <https://lilypond.org/mftrace/>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://lilypond.org/downloads/sources/mftrace/mftrace-1.2.20.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

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

## 依赖

- fontforge
- potrace
- python@3.14
- t1utils

## 安装行为

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

## 版本和新鲜度

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

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

## 源数据库详情

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

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 相关链接

- [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.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [potrace](https://pkg.so/zh-hans/brew/potrace/) - Runtime dependency declared by Homebrew.
- [fontforge](https://pkg.so/zh-hans/brew/fontforge/) - Runtime dependency declared by Homebrew.
- [t1utils](https://pkg.so/zh-hans/brew/t1utils/) - Runtime dependency declared by Homebrew.
- [eot-utils](https://pkg.so/zh-hans/brew/eot-utils/) - Shares pkgdb curated category or tags: cli, fonts, media, truetype.
- [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.
- [otf2bdf](https://pkg.so/zh-hans/brew/otf2bdf/) - Shares pkgdb curated category or tags: cli, font-conversion, fonts, media.
- [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.
- [tectonic](https://pkg.so/zh-hans/brew/tectonic/) - Shares pkgdb curated category or tags: cli, media, tex.
- [ttf2eot](https://pkg.so/zh-hans/npm/ttf2eot/) - Local package facts share a topical domain. Shared terms: cli, font, fonts, media, ttf.

## 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
- 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
