# graphite2 を Homebrew, apk, dnf, MacPorts, Nix, zypper, apt でインストール

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

## インストール

```sh
sudo av install brew:graphite2
```

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

### macOS

- Homebrew (100%):

```sh
brew install graphite2
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install graphite2
```

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

### Linux

- apk (92%):

```sh
sudo apk add graphite2
```

  証拠: Alpine Linux edge package indexes: graphite2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install graphite2
```

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

  証拠: nixpkgs package indexes: graphite2 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- zypper (92%):

```sh
sudo zypper install graphite2
```

  証拠: openSUSE Tumbleweed package metadata: graphite2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install libgraphite2-3
```

  証拠: Debian stable package indexes: libgraphite2-3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:graphite2
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.3.15
- **ソース概要:** Smart font renderer for non-Roman scripts
- **ホームページ:** <https://graphite.sil.org/>
- **リポジトリ:** <https://github.com/silnrsi/graphite>
- **最終更新:** 2026-06-30T12:12:03-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gr2fonttest (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Graphite2 is the second-generation rendering engine for SIL International's Graphite smart-font system. Graphite lets TrueType fonts carry extra rule tables so applications can render complex writing systems, especially those used by minority-language communities.

As a package, Graphite2 is small but consequential: many users never invoke `gr2fonttest` directly, yet the library sits underneath typography stacks in applications such as LibreOffice and Firefox that need support for Graphite-enabled fonts.

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

SIL developed Graphite because its field work encountered orthographies and complex script behavior that mainstream text-rendering systems did not always handle. The official documentation says the original need came from supporting lesser-known languages on Windows, then expanding to Linux and Mac.

The original engine, SilGraphite, began implementation in 2000. Graphite2 began implementation in 2010 as a rework of that engine, with a faster, more robust design and an API better matched to text-layout engines that prefer to receive glyph and positioning information rather than have the font engine draw directly.

The Graphite system is more than a library: it includes Graphite Description Language, a compiler that adds Graphite tables to TrueType fonts, and a rendering engine. Graphite2 is the engine package most distributions expose for application integration.

### 採用の歴史

Graphite's adoption path ran through applications that needed high-quality complex-script rendering. SIL's application list identifies OpenOffice, LibreOffice, Firefox, XeTeX, FieldWorks, Paratext, Bloom, Pale Moon, and Godot as Graphite-supporting applications, with several of the newer integrations using Graphite2.

LibreOffice 3.4 and later and Firefox 11 and later are the key adoption milestones for Graphite2 because they moved Graphite support into widely packaged desktop software. Firefox documentation also notes Graphite support across Mac OS X, Linux, Windows, and Android, with CSS feature control for Graphite-enabled fonts.

Because text shaping is infrastructure, Graphite2 adoption is mostly invisible to end users. Its package-manager footprint matters most to maintainers building office suites, browsers, font tools, and TeX-adjacent stacks with correct optional support for complex scripts.

### 使われ方

Direct CLI usage is mostly diagnostic through tools such as `gr2fonttest`. The main use is as a C/C++ rendering library linked into applications that already have a text-layout pipeline.

A Graphite-enabled workflow starts with a TrueType font and a GDL program, compiles extra Graphite tables into the font, then lets the Graphite2 engine return glyph and positioning information to the host application.

There is no ordinary user configuration or credential file for Graphite2 as packaged by Homebrew; behavior is driven by application integration and the Graphite tables embedded in fonts.

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

Graphite2 is one of those deceptively small libraries that keeps a large stack honest. Removing or misbuilding it can silently degrade minority-script support in software that otherwise appears unrelated to font engineering.

It is also a neat packaging example of a second-generation engine replacing an older implementation: SilGraphite remains historically important, but Graphite2 is the speed-and-robustness path adopted by major applications.

For dependency graph readers, Graphite2 often appears near HarfBuzz, FreeType, ICU, LibreOffice, and browser builds: not glamorous, but central to internationalized text rendering.

### タイムライン

- 2000: Initial SilGraphite engine implementation began.
- 2010: Graphite2 implementation began as a rework of the original engine.
- 2011: LibreOffice 3.4 and later used the Graphite2 engine.
- 2012: Firefox 11 and later supported Graphite using Graphite2.
- 2020: Graphite2 1.3.14 shipped with bug fixes and no API change.
- 2026: Graphite2 1.3.15 release notes show ongoing build and maintenance fixes.

### Related projects

- SilGraphite is the original Graphite engine and is described by SIL as deprecated.
- LibreOffice and Firefox are major Graphite2 consumers named by SIL documentation.
- OpenType and Apple Advanced Typography are adjacent smart-font technologies discussed in Graphite's documentation.
- HarfBuzz and FreeType are common neighbors in modern text-rendering dependency stacks.

### ソース

- <https://github.com/silnrsi/graphite>
- <https://github.com/silnrsi/graphite/releases>
- <https://graphite.sil.org/>
- <https://graphite.sil.org/graphite_aboutWhy>
- <https://graphite.sil.org/graphite_apps>
- <https://graphite.sil.org/graphite_devApp>
- <https://graphite.sil.org/graphite_firefox>
- <https://graphite.sil.org/graphite_techAbout>


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

- Debian apt - libgraphite2-3 - 1.3.14-2+deb13u1: normalized package name match | Debian stable package indexes: libgraphite2-3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Font rendering engine for Complex Scripts -- library | https://graphite.sil.org/
- Debian apt - libgraphite2-dev - 1.3.14-2+deb13u1: normalized package name match | Debian stable package indexes: libgraphite2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for libgraphite2 | https://graphite.sil.org/
- Debian apt - libgraphite2-doc - 1.3.14-2+deb13u1: normalized package name match | Debian stable package indexes: libgraphite2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Documentation for libgraphite2 | https://graphite.sil.org/
- Debian apt - libgraphite2-utils - 1.3.14-2+deb13u1: normalized package name match | Debian stable package indexes: libgraphite2-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Font rendering engine for Complex Scripts -- utilities | https://graphite.sil.org/
- Debian apt - python3-graphite2 - 1.3.14-2+deb13u1: normalized package name match | Debian stable package indexes: python3-graphite2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python bindings for libgraphite2 | https://graphite.sil.org/
- Nix - graphite2: normalized package name match | nixpkgs package indexes: graphite2 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - libgraphite2-3 - 1.3.14-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgraphite2-3 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Font rendering engine for Complex Scripts -- library | https://graphite.sil.org/
- Ubuntu apt - libgraphite2-dev - 1.3.14-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgraphite2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Development files for libgraphite2 | https://graphite.sil.org/
- Ubuntu apt - libgraphite2-doc - 1.3.14-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgraphite2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Documentation for libgraphite2 | https://graphite.sil.org/
- Ubuntu apt - libgraphite2-utils - 1.3.14-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgraphite2-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Font rendering engine for Complex Scripts -- utilities | https://graphite.sil.org/
- Ubuntu apt - python3-graphite2 - 1.3.14-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-graphite2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python bindings for libgraphite2 | https://graphite.sil.org/
- apk - graphite2 - 1.3.15-r0: normalized package name match | Alpine Linux edge package indexes: graphite2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | reimplementation of the SIL Graphite text processing engine | https://graphite.sil.org/
- apk - graphite2-dev - 1.3.15-r0: normalized package name match | Alpine Linux edge package indexes: graphite2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | reimplementation of the SIL Graphite text processing engine (development files) | https://graphite.sil.org/
- apk - graphite2-static - 1.3.15-r0: normalized package name match | Alpine Linux edge package indexes: graphite2-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | reimplementation of the SIL Graphite text processing engine (static library) | https://graphite.sil.org/
- dnf - graphite2 - 1.3.14-22.fc45: normalized package name match | Fedora Rawhide package metadata: graphite2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Font rendering capabilities for complex non-Roman writing systems | https://sourceforge.net/projects/silgraphite/
- dnf - graphite2-devel - 1.3.14-22.fc45: normalized package name match | Fedora Rawhide package metadata: graphite2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Files for developing with graphite2 | https://sourceforge.net/projects/silgraphite/


## Combined YAML source

View the package source record on GitHub. [combined/graphite2.yml](https://github.com/mxcl/pkgdb/blob/main/combined/graphite2.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
