Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, zypper, apt 安装 graphite2

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install graphite2

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install graphite2

MacPorts ports tree · graphics/graphite2/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add graphite2

Alpine Linux edge package indexes · graphite2 · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install graphite2

Fedora Rawhide package metadata · graphite2 · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#graphite2

nixpkgs package indexes · graphite2 · 来源: raw.githubusercontent.com

openSUSE zypper已验证 · 92%
sudo zypper install graphite2

openSUSE Tumbleweed package metadata · graphite2 · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install libgraphite2-3

Debian stable package indexes · libgraphite2-3 · 来源: deb.debian.org

概览

软件包摘要

Smart font renderer for non-Roman scripts

命令和别名

  • gr2fonttest

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gr2fonttestcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.3.15
管理器更新时间2026-06-30
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/silnrsi/graphite

安装元数据

软件包元数据

软件包键brew:graphite2
版本1.3.15
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/graphite2
主页https://graphite.sil.org/
仓库https://github.com/silnrsi/graphite
上游文档https://graphite.sil.org/
许可证MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
源码归档https://github.com/silnrsi/graphite/releases/download/1.3.15/graphite2-1.3.15.tgz
最后更新2026-06-30T12:12:03-04:00
Pulseupdated
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegraphite2
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libgraphite2-3 1.3.14-2+b1

Font rendering engine for Complex Scripts -- library

https://graphite.sil.org/

sudo apt install libgraphite2-3
  • Section: libs
  • Architecture: amd64
  • Source Package: graphite2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Graphite2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgraphite2-3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgraphite2-dev 1.3.14-2+b1

Development files for libgraphite2

https://graphite.sil.org/

sudo apt install libgraphite2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: graphite2
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Graphite2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgraphite2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgraphite2-doc 1.3.14-2

Documentation for libgraphite2

https://graphite.sil.org/

sudo apt install libgraphite2-doc
  • Section: doc
  • Architecture: all
  • Source Package: graphite2
  • normalized package name match
  • 匹配方式:Graphite2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgraphite2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgraphite2-utils 1.3.14-2+b1

Font rendering engine for Complex Scripts -- utilities

https://graphite.sil.org/

sudo apt install libgraphite2-utils
  • Section: fonts
  • Architecture: amd64
  • Source Package: graphite2
  • 4 依赖
  • normalized package name match
  • 匹配方式:Graphite2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgraphite2-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-graphite2 1.3.14-2

Python bindings for libgraphite2

https://graphite.sil.org/

sudo apt install python3-graphite2
  • Section: python
  • Architecture: all
  • Source Package: graphite2
  • 2 依赖
  • normalized package name match
  • 匹配方式:Graphite2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-graphite2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

graphite2

nix profile install nixpkgs#graphite2
  • normalized package name match
  • 匹配方式:Graphite2
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: graphite2 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

libgraphite2-3 1.3.14-2build1

Font rendering engine for Complex Scripts -- library

https://graphite.sil.org/

sudo apt install libgraphite2-3
  • Section: libs
  • Architecture: amd64
  • Source Package: graphite2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Graphite2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgraphite2-3 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgraphite2-dev 1.3.14-2build1

Development files for libgraphite2

https://graphite.sil.org/

sudo apt install libgraphite2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: graphite2
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Graphite2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgraphite2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgraphite2-doc 1.3.14-2build1

Documentation for libgraphite2

https://graphite.sil.org/

sudo apt install libgraphite2-doc
  • Section: doc
  • Architecture: all
  • Source Package: graphite2
  • normalized package name match
  • 匹配方式:Graphite2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgraphite2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgraphite2-utils 1.3.14-2build1

Font rendering engine for Complex Scripts -- utilities

https://graphite.sil.org/

sudo apt install libgraphite2-utils
  • Section: universe/fonts
  • Architecture: amd64
  • Source Package: graphite2
  • 4 依赖
  • normalized package name match
  • 匹配方式:Graphite2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgraphite2-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-graphite2 1.3.14-2build1

Python bindings for libgraphite2

https://graphite.sil.org/

sudo apt install python3-graphite2
  • Section: universe/python
  • Architecture: all
  • Source Package: graphite2
  • 2 依赖
  • normalized package name match
  • 匹配方式:Graphite2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-graphite2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

graphite2 1.3.14-r6

reimplementation of the SIL Graphite text processing engine

https://graphite.sil.org/

sudo apk add graphite2
  • License: LGPL-2.1-or-later OR MPL-1.1
  • Architecture: x86_64
  • Source Package: graphite2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Graphite2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: graphite2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

graphite2-dev 1.3.14-r6

reimplementation of the SIL Graphite text processing engine (development files)

https://graphite.sil.org/

sudo apk add graphite2-dev
  • License: LGPL-2.1-or-later OR MPL-1.1
  • Architecture: x86_64
  • Source Package: graphite2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Graphite2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: graphite2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

graphite2-static 1.3.14-r6

reimplementation of the SIL Graphite text processing engine (static library)

https://graphite.sil.org/

sudo apk add graphite2-static
  • License: LGPL-2.1-or-later OR MPL-1.1
  • Architecture: x86_64
  • Source Package: graphite2
  • normalized package name match
  • 匹配方式:Graphite2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: graphite2-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

graphite2 1.3.14-20.fc44

Font rendering capabilities for complex non-Roman writing systems

https://sourceforge.net/projects/silgraphite/

sudo dnf install graphite2
  • License: LGPL-2.1-or-later OR MPL-2.0 OR GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: graphite2
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Graphite2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: graphite2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

graphite2-devel 1.3.14-20.fc44

Files for developing with graphite2

https://sourceforge.net/projects/silgraphite/

sudo dnf install graphite2-devel
  • License: LGPL-2.1-or-later OR MPL-2.0 OR GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: graphite2
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Graphite2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: graphite2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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