macOS
brew install graphite2local Homebrew formula metadata
sudo port install graphite2MacPorts ports tree · graphics/graphite2/Portfile · 来源: api.github.com
安装
brew install graphite2local Homebrew formula metadata
sudo port install graphite2MacPorts ports tree · graphics/graphite2/Portfile · 来源: api.github.com
sudo apk add graphite2Alpine Linux edge package indexes · graphite2 · 来源: dl-cdn.alpinelinux.org
sudo dnf install graphite2Fedora Rawhide package metadata · graphite2 · 来源: dl.fedoraproject.org
nix profile install nixpkgs#graphite2nixpkgs package indexes · graphite2 · 来源: raw.githubusercontent.com
sudo zypper install graphite2openSUSE Tumbleweed package metadata · graphite2 · 来源: download.opensuse.org
sudo apt install libgraphite2-3Debian stable package indexes · libgraphite2-3 · 来源: deb.debian.org
概览
Smart font renderer for non-Roman scripts
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gr2fonttest | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | graphite2 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libgraphite2-3 1.3.14-2+b1
Font rendering engine for Complex Scripts -- library
sudo apt install libgraphite2-3libgraphite2-dev 1.3.14-2+b1
Development files for libgraphite2
sudo apt install libgraphite2-devlibgraphite2-doc 1.3.14-2
Documentation for libgraphite2
sudo apt install libgraphite2-doclibgraphite2-utils 1.3.14-2+b1
Font rendering engine for Complex Scripts -- utilities
sudo apt install libgraphite2-utilspython3-graphite2 1.3.14-2
Python bindings for libgraphite2
sudo apt install python3-graphite2graphite2
nix profile install nixpkgs#graphite2libgraphite2-3 1.3.14-2build1
Font rendering engine for Complex Scripts -- library
sudo apt install libgraphite2-3libgraphite2-dev 1.3.14-2build1
Development files for libgraphite2
sudo apt install libgraphite2-devlibgraphite2-doc 1.3.14-2build1
Documentation for libgraphite2
sudo apt install libgraphite2-doclibgraphite2-utils 1.3.14-2build1
Font rendering engine for Complex Scripts -- utilities
sudo apt install libgraphite2-utilspython3-graphite2 1.3.14-2build1
Python bindings for libgraphite2
sudo apt install python3-graphite2graphite2 1.3.14-r6
reimplementation of the SIL Graphite text processing engine
sudo apk add graphite2graphite2-dev 1.3.14-r6
reimplementation of the SIL Graphite text processing engine (development files)
sudo apk add graphite2-devgraphite2-static 1.3.14-r6
reimplementation of the SIL Graphite text processing engine (static library)
sudo apk add graphite2-staticgraphite2 1.3.14-20.fc44
Font rendering capabilities for complex non-Roman writing systems
https://sourceforge.net/projects/silgraphite/
sudo dnf install graphite2graphite2-devel 1.3.14-20.fc44
Files for developing with graphite2
https://sourceforge.net/projects/silgraphite/
sudo dnf install graphite2-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.