# 使用 Homebrew, MacPorts 安装 msdfgen

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

## 安装

```sh
sudo av install brew:msdfgen
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install msdfgen
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install msdfgen
```

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

## 软件包事实

- **软件包键:** brew:msdfgen
- **软件包管理器:** Homebrew
- **版本:** 1.13
- **来源摘要:** Multi-channel signed distance field generator
- **主页:** <https://github.com/Chlumsky/msdfgen>
- **仓库:** <https://github.com/Chlumsky/msdfgen>
- **最后更新:** 2026-07-02T15:53:33+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- msdfgen (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

msdfgen is a utility and library for generating signed distance fields from vector shapes and font glyphs, with its main focus on multi-channel signed distance fields for real-time graphics.

### 项目历史

The official GitHub repository was created in 2016 and the changelog lists version 1.0 as the initial public release on 2016-04-28. The project later added CMake support, expanded SVG and font handling, introduced MTSDF mode, and kept refining error correction, geometry preprocessing, and build options.

### 采用历史

The README positions msdfgen both as a standalone console program and as a C++ library. It also points users toward msdf-atlas-gen when generating complete font atlases, which reflects its adoption in graphics and text-rendering pipelines rather than as an end-user media tool.

### 使用方式

Typical package-manager usage is running msdfgen with a mode, input, and options to generate SDF, PSDF, MSDF, or MTSDF textures from fonts, SVG files, shape descriptions, or standard input. The library API exposes the same core generation routines for embedding in renderers and tools.

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

msdfgen matters in packaging because it bridges graphics research and practical asset generation: a small CLI plus C++ library, optional image/font/SVG dependencies, and current releases that track real-world build-system needs.

### 时间线

- 2016: Repository created and version 1.0 published.
- 2017: CMake build script added.
- 2020: MTSDF mode added.
- 2023: Standalone executable can be built in a limited dependency-free form.
- 2025: Version 1.13 released.

### Related projects

- msdf-atlas-gen is the official companion project recommended by the README for generating full font atlases.

### 来源

- <https://github.com/Chlumsky/msdfgen>
- <https://github.com/Chlumsky/msdfgen#readme>
- <https://raw.githubusercontent.com/Chlumsky/msdfgen/master/CHANGELOG.md>
- source_facts.description
- source_facts.repo


## 安全说明

没有找到 msdfgen 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- MacPorts - msdfgen: normalized package name match | MacPorts ports tree: graphics/msdfgen/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/msdfgen.yml](https://github.com/mxcl/pkgdb/blob/main/combined/msdfgen.yml)


## 来源

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
