# ttf2pt1 を Homebrew, dnf, MacPorts, Nix でインストール

ttf2pt1 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ttf2pt1
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ttf2pt1
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ttf2pt1
```

  証拠: MacPorts ports tree: print/ttf2pt1/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install ttf2pt1
```

  証拠: Fedora Rawhide package metadata: ttf2pt1 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#ttf2pt1
```

  証拠: nixpkgs package indexes: pkgs/by-name/tt/ttf2pt1/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:ttf2pt1
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.4.4
- **ソース概要:** True Type Font to Postscript Type 1 converter
- **ホームページ:** <https://ttf2pt1.sourceforge.net/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ttf2pt1 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.4.4
## プロジェクトの歴史と使われ方

ttf2pt1 is a classic Unix font-conversion utility for converting TrueType and other scalable font formats into PostScript Type 1 fonts and metrics.

### プロジェクトの歴史

The official homepage frames ttf2pt1 as a practical answer to a late-1990s Unix desktop problem: users could often find fonts in TrueType format, while X11 and PostScript workflows commonly wanted Adobe Type 1 fonts.

The README states that ttf2pt1 is based on Andrew Weeks' `ttf2pfa`, with help from Frank Siegert, modification by Mark Heath, further modification by Sergey Babkin, and Type 1 assembler work by I. Lee Hetherington with Kai-Uwe Herbing modifications.

The project grew beyond simple outline conversion. The README says versions 3.0 and later added extensive post-processing to meet Type 1 requirements, correct rounding errors and common public-domain TTF bugs, and generate hints for better small-size display rendering.

### 採用の歴史

ttf2pt1's adoption belongs to the era when Linux, X11, TeX, and PostScript users needed command-line font conversion without commercial Mac or Windows tools. The homepage explicitly mentions searching the web and comp.fonts and finding mostly commercial software.

SourceForge file history shows active releases and binary packages in the early 2000s, including platform binaries and the 3.4.4 source release at the end of 2003. The supplied package facts show that Homebrew, Fedora, MacPorts, and Nix still package it.

The tool persisted in package managers because old font workflows persist: TeX, X11, PostScript printers, and archival font conversion all benefit from a scriptable converter that can output `.pfa`, `.pfb`, and `.afm` files.

### 使われ方

The documented command form is `ttf2pt1 [-options] ttffont.ttf [Fontname]` or output to standard output with `ttf2pt1 [-options] ttffont.ttf -`.

By default it creates a Type 1 font file and AFM metrics; options control binary `.pfb` output, glyph inclusion, language/encoding extraction, parser choice, hinting behavior, outline processing, and output file selection.

### パッケージ好きにとっての重要性

ttf2pt1 is a high-signal package-nerd artifact: a small C utility with deep format knowledge, born from Unix font pain, and still packaged because build scripts and archival workflows occasionally need exactly this conversion.

It also illustrates why package managers keep old developer tools alive. The mainstream web and desktop font world moved on, but reproducible conversion of historical fonts and PostScript-era assets remains useful.

### タイムライン

- Pre-ttf2pt1: Andrew Weeks' `ttf2pfa` provides the Type 3 conversion base.
- 2001: SourceForge file history shows early old files and `ttf2pt1-chinese` distribution.
- 2002: SourceForge RSS lists 3.4.x releases and platform binary packages.
- 2003: Version 3.4.4 source archives are released on SourceForge.
- Present: Homebrew, Fedora, MacPorts, and Nix package the utility according to supplied package facts.

### Related projects

- The official pages identify `ttf2pfa`, FreeType, t1utils, and X11 font handling as closely related technologies.
- Nearby package-manager tools include other font converters, font editors, and PostScript utilities.

### ソース

- <https://sourceforge.net/projects/ttf2pt1/files/ and https://sourceforge.net/projects/ttf2pt1/rss?path=/ document release dates and source/binary packages.>
- <https://ttf2pt1.sourceforge.net/ documents the background, motivation, authorship, credits, and role of ttf2pt1.>
- <https://ttf2pt1.sourceforge.net/README.html documents command syntax, conversion outputs, Type 1 post-processing, hinting, and options.>
- source_facts.package-manager lists Homebrew, Fedora, MacPorts, and Nix packages.


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - ttf2pt1: normalized package name match | nixpkgs package indexes: pkgs/by-name/tt/ttf2pt1/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - ttf2pt1 - 3.4.4-53.fc45: normalized package name match | Fedora Rawhide package metadata: ttf2pt1 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | TrueType to Adobe Type 1 font converter | http://ttf2pt1.sourceforge.net
- MacPorts - ttf2pt1: normalized package name match | MacPorts ports tree: print/ttf2pt1/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/ttf2pt1.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ttf2pt1.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
