macOS
brew install harfbuzzlocal Homebrew formula metadata
sudo port install harfbuzzMacPorts ports tree · graphics/harfbuzz/Portfile · 来源: api.github.com
安装
brew install harfbuzzlocal Homebrew formula metadata
sudo port install harfbuzzMacPorts ports tree · graphics/harfbuzz/Portfile · 来源: api.github.com
sudo apk add harfbuzzAlpine Linux edge package indexes · harfbuzz · 来源: dl-cdn.alpinelinux.org
sudo dnf install harfbuzzFedora Rawhide package metadata · harfbuzz · 来源: dl.fedoraproject.org
nix profile install nixpkgs#harfbuzznixpkgs package indexes · pkgs/by-name/ha/harfbuzz/package.nix · 来源: api.github.com
sudo pacman -S harfbuzzArch Linux sync databases · harfbuzz · 来源: geo.mirror.pkgbuild.com
sudo apt install gir1.2-harfbuzz-0.0Debian stable package indexes · gir1.2-harfbuzz-0.0 · 来源: deb.debian.org
sudo zypper install harfbuzz-developenSUSE Tumbleweed package metadata · harfbuzz-devel · 来源: download.opensuse.org
scoop install main/harfbuzzScoop official bucket manifest trees · bucket/harfbuzz.json · 来源: api.github.com
概览
OpenType text shaping engine
历史
HarfBuzz is an open source text shaping engine and font platform. It converts Unicode text plus font data into positioned glyphs, which makes it a quiet but critical dependency for readable Arabic, Indic, Southeast Asian, and many other complex-script layouts.
For package users, HarfBuzz is the kind of library that disappears when it works and becomes instantly visible when it regresses: browsers, GUI toolkits, document editors, terminals, and font tools depend on consistent shaping behavior.
The HarfBuzz manual says the project began as text-shaping code inside FreeType and was extracted into its own project. Behdad Esfahbod's text-rendering history explains that FreeType's OpenType Layout code was removed from FreeType's rasterization scope, then carried separately by Pango and Qt developers.
Around 2006, Pango and Qt developers cooperated to reunify the layout engine as a freedesktop.org project named HarfBuzz. The same history notes that HarfBuzz was relicensed to the old MIT license and that the plan became a unified shaping engine rather than only a merged copy of existing code.
The project's own README says HarfBuzz started as a text shaping engine and grew into a broader font platform supporting OpenType and Apple Advanced Typography. Its component map includes core shaping, subsetting, font-function integrations with FreeType/CoreText/Uniscribe/DirectWrite/GDI/GLib/Graphite2, and CLI tools such as `hb-shape`, `hb-view`, and `hb-subset`.
HarfBuzz adoption followed the need for shared, correct complex-script shaping across open source desktops, browsers, toolkits, and document stacks. The README states that HarfBuzz shapes the majority of text on modern screens, which reflects its position below many user-facing applications.
Because shaping quality depends on Unicode, OpenType, AAT, Graphite, script-specific rules, and font quirks, HarfBuzz became a shared place for correctness and robustness work that individual applications would struggle to maintain independently.
Its wide package-manager presence in the supplied input facts reflects this dependency role: HarfBuzz is not just a command-line tool package, it is a library package that other packages build against.
Most users consume HarfBuzz indirectly through libraries and applications. Direct users call its C API or C++ implementation to feed buffers, fonts, features, scripts, languages, and directions, then receive glyph IDs and positions for rendering.
The package also ships command-line utilities useful to font engineers and package maintainers. Tools such as `hb-shape`, `hb-view`, `hb-info`, and `hb-subset` help reproduce shaping behavior, inspect font support, render examples, and create smaller font subsets.
HarfBuzz is package-nerd significant because it sits in the dependency graph of text rendering. A version bump can change glyph placement, script behavior, subset output, sanitizer strictness, ABI exposure, or optional backend integration.
It is also a classic example of a small-looking package with enormous blast radius. Packaging choices around FreeType, Graphite2, GLib, CoreText, DirectWrite, ICU-like Unicode data, build flags, and command-line utilities affect everything from web browsers to PDF producers.
The project's release history shows why maintainers track it closely: HarfBuzz 1.0 implemented the Universal Shaping Engine, 2.0 added AAT shaping support, 3.0 stabilized the subset API and ABI, and 8.0 introduced an experimental WebAssembly shaper.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
hb-info | cli | 全局可执行文件 | |
hb-raster | cli | 全局可执行文件 | |
hb-shape | cli | 全局可执行文件 | |
hb-subset | cli | 全局可执行文件 | |
hb-vector | cli | 全局可执行文件 | |
hb-view | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/harfbuzz/harfbuzz
安装元数据
| 软件包键 | brew:harfbuzz |
|---|---|
| 版本 | 14.2.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/harfbuzz |
| 主页 | https://github.com/harfbuzz/harfbuzz |
| 仓库 | https://github.com/harfbuzz/harfbuzz |
| 上游文档 | https://harfbuzz.github.io/ |
| 许可证 | MIT |
| 源码归档 | https://github.com/harfbuzz/harfbuzz/releases/download/14.2.1/harfbuzz-14.2.1.tar.xz |
| 最后更新 | 2026-06-02T20:38:26Z |
| Pulse | updated |
| 依赖 | cairo, freetype, glib, graphite2, icu4c@78, libpng |
| 构建依赖 | gobject-introspection, meson, ninja, pkgconf, python@3.14 |
| 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 | harfbuzz |
| 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 软件包链接分开显示。
gir1.2-harfbuzz-0.0 10.2.0-1+deb13u1
OpenType text shaping engine (GObject introspection data)
sudo apt install gir1.2-harfbuzz-0.0libharfbuzz-bin 10.2.0-1+deb13u1
OpenType text shaping engine (utility)
sudo apt install libharfbuzz-binlibharfbuzz-cairo0 10.2.0-1+deb13u1
OpenType text shaping engine Cairo backend
sudo apt install libharfbuzz-cairo0libharfbuzz-dev 10.2.0-1+deb13u1
Development files for OpenType text shaping engine
sudo apt install libharfbuzz-devlibharfbuzz-doc 10.2.0-1+deb13u1
Documentation files for the HarfBuzz library
sudo apt install libharfbuzz-doclibharfbuzz-gobject0 10.2.0-1+deb13u1
OpenType text shaping engine ICU backend (GObject library)
sudo apt install libharfbuzz-gobject0libharfbuzz-icu0 10.2.0-1+deb13u1
OpenType text shaping engine ICU backend
sudo apt install libharfbuzz-icu0libharfbuzz-subset0 10.2.0-1+deb13u1
OpenType text shaping engine (subset library)
sudo apt install libharfbuzz-subset0libharfbuzz0b 10.2.0-1+deb13u1
OpenType text shaping engine (shared library)
sudo apt install libharfbuzz0bharfbuzz
nix profile install nixpkgs#harfbuzzgir1.2-harfbuzz-0.0 8.3.0-2build2
OpenType text shaping engine (GObject introspection data)
https://www.freedesktop.org/wiki/Software/HarfBuzz
sudo apt install gir1.2-harfbuzz-0.0libharfbuzz-bin 8.3.0-2build2
OpenType text shaping engine (utility)
https://www.freedesktop.org/wiki/Software/HarfBuzz
sudo apt install libharfbuzz-binlibharfbuzz-cairo0 8.3.0-2build2
OpenType text shaping engine Cairo backend
https://www.freedesktop.org/wiki/Software/HarfBuzz
sudo apt install libharfbuzz-cairo0libharfbuzz-dev 8.3.0-2build2
Development files for OpenType text shaping engine
https://www.freedesktop.org/wiki/Software/HarfBuzz
sudo apt install libharfbuzz-devlibharfbuzz-doc 8.3.0-2build2
Documentation files for the HarfBuzz library
https://www.freedesktop.org/wiki/Software/HarfBuzz
sudo apt install libharfbuzz-doclibharfbuzz-gobject0 8.3.0-2build2
OpenType text shaping engine ICU backend (GObject library)
https://www.freedesktop.org/wiki/Software/HarfBuzz
sudo apt install libharfbuzz-gobject0来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.