macOS
brew install harfbuzzlocal Homebrew formula metadata
sudo port install harfbuzzMacPorts ports tree · graphics/harfbuzz/Portfile · source: api.github.com
brew
OpenType text shaping engine. Version 14.2.1 via Homebrew; verified 2026-06-02.
install
brew install harfbuzzlocal Homebrew formula metadata
sudo port install harfbuzzMacPorts ports tree · graphics/harfbuzz/Portfile · source: api.github.com
sudo apk add harfbuzzAlpine Linux edge package indexes · harfbuzz · source: dl-cdn.alpinelinux.org
sudo apt install gir1.2-harfbuzz-0.0Debian stable package indexes · gir1.2-harfbuzz-0.0 · source: deb.debian.org
sudo dnf install harfbuzzFedora Rawhide package metadata · harfbuzz · source: dl.fedoraproject.org
nix profile install nixpkgs#harfbuzznixpkgs package indexes · pkgs/by-name/ha/harfbuzz/package.nix · source: api.github.com
sudo pacman -S harfbuzzArch Linux sync databases · harfbuzz · source: geo.mirror.pkgbuild.com
sudo zypper install harfbuzz-developenSUSE Tumbleweed package metadata · harfbuzz-devel · source: download.opensuse.org
scoop install main/harfbuzzScoop official bucket manifest trees · bucket/harfbuzz.json · source: api.github.com
overview
OpenType text shaping engine
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
hb-info | cli | global executable | |
hb-raster | cli | global executable | |
hb-shape | cli | global executable | |
hb-subset | cli | global executable | |
hb-vector | cli | global executable | |
hb-view | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/harfbuzz/harfbuzz
install metadata
| Package key | brew:harfbuzz |
|---|---|
| Version | 14.2.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/harfbuzz |
| Homepage | https://github.com/harfbuzz/harfbuzz |
| Repository | https://github.com/harfbuzz/harfbuzz |
| Upstream docs | https://harfbuzz.github.io/ |
| License | MIT |
| Source archive | https://github.com/harfbuzz/harfbuzz/releases/download/14.2.1/harfbuzz-14.2.1.tar.xz |
| Last updated | 2026-06-02T20:38:26Z |
| Pulse | updated |
| Dependencies | cairo, freetype, glib, graphite2, icu4c@78, libpng |
| Build dependencies | gobject-introspection, meson, ninja, pkgconf, python@3.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-gobject0source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.