# 使用 Homebrew, MacPorts 安装 ttf2eot

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

## 安装

```sh
sudo av install brew:ttf2eot
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ttf2eot
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ttf2eot
```

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

## 软件包事实

- **软件包键:** brew:ttf2eot
- **软件包管理器:** Homebrew
- **版本:** 0.0.3
- **来源摘要:** Convert TTF files to EOT
- **主页:** <https://github.com/wget/ttf2eot>
- **仓库:** <https://github.com/wget/ttf2eot>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ttf2eot (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ttf2eot is a small command-line converter that turns TrueType/OpenType fonts into EOT files for older Internet Explorer `@font-face` workflows.

### 项目历史

The upstream README identifies the tool as a quick command-line wrapper around Chromium's `OpenTypeUtilities.cpp`, used to create EOT files from TTF or OpenType font files.

The README dates the original author note to 15-Mar-2009 and says the format is what Internet Explorer used for CSS `@font-face` declarations. GitHub metadata describes the current repository as an import of Taviso's tool from the now-defunct Google Code service.

### 采用历史

ttf2eot belongs to the web-font compatibility period when developers needed EOT files for Internet Explorer while also shipping other font formats for newer browsers.

Its package-manager footprint is narrow but practical: the supplied package facts list Homebrew and MacPorts. That matches a tiny build-time converter used by web developers and font packagers rather than an end-user application.

### 使用方式

The documented usage is deliberately minimal: build with `make`, then run `./ttf2eot < input.ttf > output.eot`.

Because the tool reads from standard input and writes to standard output, it fits shell pipelines and asset build scripts.

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

ttf2eot is package-nerd significant precisely because it is so small: package managers kept a one-purpose compatibility converter available after the web platform moved on from EOT.

It is also an example of source-code migration history in package indexes: a Google Code-era utility imported to GitHub and preserved as a formula.

### 时间线

- 2008: Microsoft's EOT submission is cited by the README as the format reference.
- 2009: The README author note dates the original utility to 15-Mar-2009.
- 2017: The GitHub repository is created as an import from defunct Google Code.

### Related projects

- The README cites Chromium's `OpenTypeUtilities.cpp`, Microsoft's `TTLoadEmbeddedFont`, and the W3C EOT submission.
- The tool sits near other font conversion utilities such as ttf2pt1, but targets web EOT output rather than PostScript Type 1.

### 来源

- <https://api.github.com/repos/wget/ttf2eot metadata describes the repository as an import from defunct Google Code.>
- <https://github.com/wget/ttf2eot README documents purpose, EOT context, build command, usage, origin date, and licensing.>
- source_facts.package-manager lists Homebrew and MacPorts packages.


## 安全说明

narrow executable package without higher-risk signals.

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

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

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