# Install t1lib with Homebrew, dnf, MacPorts

C library to generate/rasterize bitmaps from Type 1 fonts. Version 5.1.2 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:t1lib
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install t1lib
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install t1lib
```

  Evidence: MacPorts ports tree: devel/t1lib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install t1lib
```

  Evidence: Fedora Rawhide package metadata: t1lib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## Package facts

- **Package key:** brew:t1lib
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/t1lib>
- **Version:** 5.1.2
- **Source summary:** C library to generate/rasterize bitmaps from Type 1 fonts
- **Homepage:** <https://www.t1lib.org/>
- **Upstream docs:** <https://www.t1lib.org/>
- **License:** GPL-2.0-only
- **Source archive:** <https://www.ibiblio.org/pub/linux/libs/graphics/t1lib-5.1.2.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- type1afm (cli)
- type1afm (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.1.2
- Local data: ok
- Upstream repository: https://www.t1lib.org/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

t1lib is a C library for generating and rasterizing bitmaps from Adobe Type 1 fonts, remembered mostly as a small legacy graphics/font dependency rather than as a modern user-facing application.

### Project history

The official t1lib homepage describes the library as open source software developed by Rainer Menzner. It says the implementation is written in C and is based on IBM-donated X11 rasterizer code, while being independent of X11 or any other graphical user interface.

### Adoption history

The official page presents t1lib in the context of classic Unix web and graphics stacks, especially adding Type 1 text to images with gd, Apache, and PHP. The Homebrew metadata in the input also records package-manager availability in Homebrew, Fedora/dnf, and MacPorts, which points to its role as a compatibility package for older software.

### How it is used

Its command-line surface is small; the Homebrew input lists type1afm as the packaged executable. The main audience is C software that needs Type 1 font rasterization or metric extraction rather than people invoking a rich CLI directly.

### Why package nerds care

Package maintainers care about t1lib because it is the kind of old graphics dependency that keeps historical build graphs working: small, C-based, archive-distributed, and tied to Type 1 fonts, X11-era rasterization, gd, and PHP image workflows.

### Timeline

- Pre-2000s: t1lib was developed by Rainer Menzner from IBM-donated X11 rasterizer code.
- 2001: The official homepage pointed PHP users to image text examples using t1lib.
- 2026: Homebrew still packages t1lib 5.1.2 from an ibiblio source archive.

### Related projects

- The official homepage names gd, PHP, Apache, FreeType 2, and ImageMagick as adjacent projects or alternatives in image and font rendering workflows.

### Sources

- <https://formulae.brew.sh/formula/t1lib>
- <https://www.t1lib.org/>
- input.source_facts.description
- input.source_facts.package-manager


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- dnf - t1lib - 5.1.2-43.fc44: normalized package name match | Fedora Rawhide package metadata: t1lib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | PostScript Type 1 font rasterizer | ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-5.1.2.lsm
- dnf - t1lib-apps - 5.1.2-43.fc44: normalized package name match | Fedora Rawhide package metadata: t1lib-apps from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | t1lib demo applications | ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-5.1.2.lsm
- dnf - t1lib-devel - 5.1.2-43.fc44: normalized package name match | Fedora Rawhide package metadata: t1lib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Header files and development files for t1lib | ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-5.1.2.lsm
- dnf - t1lib-static - 5.1.2-43.fc44: normalized package name match | Fedora Rawhide package metadata: t1lib-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Static libraries for t1lib | ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-5.1.2.lsm
- MacPorts - t1lib: normalized package name match | MacPorts ports tree: devel/t1lib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [t1utils](https://www.automicvault.com/pkg/brew/t1utils/) - Shares av.db curated category or tags: cli, developer-tools, fonts, type-1-fonts, type1.
- [fonttools](https://www.automicvault.com/pkg/brew/fonttools/) - Shares av.db curated category or tags: cli, developer-tools, fonts.
- [nerdfix](https://www.automicvault.com/pkg/brew/nerdfix/) - Shares av.db curated category or tags: cli, developer-tools, fonts.
- [ttf2pt1](https://www.automicvault.com/pkg/brew/ttf2pt1/) - Shares av.db curated category or tags: cli, developer-tools, fonts.
- [ttfautohint](https://www.automicvault.com/pkg/brew/ttfautohint/) - Shares av.db curated category or tags: cli, developer-tools, fonts.
- [waffle](https://www.automicvault.com/pkg/brew/waffle/) - Shares av.db curated category or tags: c-library, cli, developer-tools, graphics.
- [apr](https://www.automicvault.com/pkg/brew/apr/) - Shares av.db curated category or tags: c-library, cli, developer-tools.
- [apr-util](https://www.automicvault.com/pkg/brew/apr-util/) - Shares av.db curated category or tags: c-library, cli, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/t1lib.yml](https://github.com/automic-vault/db/blob/main/combined/t1lib.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
