Automic VaultAutomic Vault

brew

Install harfbuzz with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

OpenType text shaping engine. Version 14.2.1 via Homebrew; verified 2026-06-02.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install harfbuzz

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install harfbuzz

MacPorts ports tree · graphics/harfbuzz/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add harfbuzz

Alpine Linux edge package indexes · harfbuzz · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install gir1.2-harfbuzz-0.0

Debian stable package indexes · gir1.2-harfbuzz-0.0 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install harfbuzz

Fedora Rawhide package metadata · harfbuzz · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#harfbuzz

nixpkgs package indexes · pkgs/by-name/ha/harfbuzz/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S harfbuzz

Arch Linux sync databases · harfbuzz · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install harfbuzz-devel

openSUSE Tumbleweed package metadata · harfbuzz-devel · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/harfbuzz

Scoop official bucket manifest trees · bucket/harfbuzz.json · source: api.github.com

overview

Package summary

OpenType text shaping engine

Commands and aliases

  • hb-info
  • hb-raster
  • hb-shape
  • hb-subset
  • hb-vector
  • hb-view

history

Project history and usage

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.

Project history

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`.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • Pre-2006: OpenType layout code originates in FreeType and is carried by Pango and Qt after extraction from FreeType's rasterizer scope.
  • 2006: Pango and Qt developers cooperate to reunify the layout engine as HarfBuzz under freedesktop.org.
  • 2008: Behdad Esfahbod describes rewrite work aimed at robustness and efficient mmap-based font use.
  • 2015-07-26: HarfBuzz 1.0.0 release notes list Universal Shaping Engine implementation.
  • 2018-10-18: HarfBuzz 2.0.0 release notes list AAT shaping support.
  • 2021-09-17: HarfBuzz 3.0.0 release notes declare the subset API and harfbuzz-subset ABI stable.
  • 2023-07-09: HarfBuzz 8.0.0 release notes introduce an experimental WebAssembly shaper.

Related projects

  • Closely related projects include FreeType, Pango, Qt, Cairo, Skia, Graphite2, CoreText, Uniscribe, DirectWrite, fontconfig, and the OpenType and Unicode specifications.
  • HarfBuzz also relates to browser engines, PDF and office suites, TeX engines, font subsetting pipelines, and font engineering tools that need reproducible shaping.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 6 runtime dependencies.
  • Build metadata lists 5 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
hb-infocliglobal executable
hb-rastercliglobal executable
hb-shapecliglobal executable
hb-subsetcliglobal executable
hb-vectorcliglobal executable
hb-viewcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version14.2.1
manager updated2026-06-02
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/harfbuzz/harfbuzz

install metadata

Package metadata

Package keybrew:harfbuzz
Version14.2.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/harfbuzz
Homepagehttps://github.com/harfbuzz/harfbuzz
Repositoryhttps://github.com/harfbuzz/harfbuzz
Upstream docshttps://harfbuzz.github.io/
LicenseMIT
Source archivehttps://github.com/harfbuzz/harfbuzz/releases/download/14.2.1/harfbuzz-14.2.1.tar.xz
Last updated2026-06-02T20:38:26Z
Pulseupdated
Dependenciescairo, freetype, glib, graphite2, icu4c@78, libpng
Build dependenciesgobject-introspection, meson, ninja, pkgconf, python@3.14
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

gir1.2-harfbuzz-0.0 10.2.0-1+deb13u1

OpenType text shaping engine (GObject introspection data)

https://harfbuzz.github.io/

sudo apt install gir1.2-harfbuzz-0.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: harfbuzz
  • 4 dependencies
  • normalized package name match
  • Matched by: Harfbuzz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-harfbuzz-0.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libharfbuzz-bin 10.2.0-1+deb13u1

OpenType text shaping engine (utility)

https://harfbuzz.github.io/

sudo apt install libharfbuzz-bin
  • Section: utils
  • Architecture: amd64
  • Source Package: harfbuzz
  • 9 dependencies
  • normalized package name match
  • Matched by: Harfbuzz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libharfbuzz-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libharfbuzz-cairo0 10.2.0-1+deb13u1

OpenType text shaping engine Cairo backend

https://harfbuzz.github.io/

sudo apt install libharfbuzz-cairo0
  • Section: libs
  • Architecture: amd64
  • Source Package: harfbuzz
  • 3 dependencies
  • normalized package name match
  • Matched by: Harfbuzz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libharfbuzz-cairo0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libharfbuzz-dev 10.2.0-1+deb13u1

Development files for OpenType text shaping engine

https://harfbuzz.github.io/

sudo apt install libharfbuzz-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: harfbuzz
  • 12 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Harfbuzz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libharfbuzz-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libharfbuzz-doc 10.2.0-1+deb13u1

Documentation files for the HarfBuzz library

https://harfbuzz.github.io/

sudo apt install libharfbuzz-doc
  • Section: doc
  • Architecture: all
  • Source Package: harfbuzz
  • normalized package name match
  • Matched by: Harfbuzz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libharfbuzz-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libharfbuzz-gobject0 10.2.0-1+deb13u1

OpenType text shaping engine ICU backend (GObject library)

https://harfbuzz.github.io/

sudo apt install libharfbuzz-gobject0
  • Section: libs
  • Architecture: amd64
  • Source Package: harfbuzz
  • 3 dependencies
  • normalized package name match
  • Matched by: Harfbuzz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libharfbuzz-gobject0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libharfbuzz-icu0 10.2.0-1+deb13u1

OpenType text shaping engine ICU backend

https://harfbuzz.github.io/

sudo apt install libharfbuzz-icu0
  • Section: libs
  • Architecture: amd64
  • Source Package: harfbuzz
  • 3 dependencies
  • normalized package name match
  • Matched by: Harfbuzz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libharfbuzz-icu0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libharfbuzz-subset0 10.2.0-1+deb13u1

OpenType text shaping engine (subset library)

https://harfbuzz.github.io/

sudo apt install libharfbuzz-subset0
  • Section: libs
  • Architecture: amd64
  • Source Package: harfbuzz
  • 2 dependencies
  • normalized package name match
  • Matched by: Harfbuzz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libharfbuzz-subset0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libharfbuzz0b 10.2.0-1+deb13u1

OpenType text shaping engine (shared library)

https://harfbuzz.github.io/

sudo apt install libharfbuzz0b
  • Section: libs
  • Architecture: amd64
  • Source Package: harfbuzz
  • 4 dependencies
  • normalized package name match
  • Matched by: Harfbuzz
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libharfbuzz0b from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

harfbuzz

nix profile install nixpkgs#harfbuzz
  • normalized package name match
  • Matched by: Harfbuzz
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ha/harfbuzz/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gir1.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.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: harfbuzz
  • 4 dependencies
  • normalized package name match
  • Matched by: Harfbuzz
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-harfbuzz-0.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libharfbuzz-bin 8.3.0-2build2

OpenType text shaping engine (utility)

https://www.freedesktop.org/wiki/Software/HarfBuzz

sudo apt install libharfbuzz-bin
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: harfbuzz
  • 9 dependencies
  • normalized package name match
  • Matched by: Harfbuzz
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libharfbuzz-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libharfbuzz-cairo0 8.3.0-2build2

OpenType text shaping engine Cairo backend

https://www.freedesktop.org/wiki/Software/HarfBuzz

sudo apt install libharfbuzz-cairo0
  • Section: libs
  • Architecture: amd64
  • Source Package: harfbuzz
  • 3 dependencies
  • normalized package name match
  • Matched by: Harfbuzz
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libharfbuzz-cairo0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libharfbuzz-dev 8.3.0-2build2

Development files for OpenType text shaping engine

https://www.freedesktop.org/wiki/Software/HarfBuzz

sudo apt install libharfbuzz-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: harfbuzz
  • 12 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Harfbuzz
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libharfbuzz-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libharfbuzz-doc 8.3.0-2build2

Documentation files for the HarfBuzz library

https://www.freedesktop.org/wiki/Software/HarfBuzz

sudo apt install libharfbuzz-doc
  • Section: doc
  • Architecture: all
  • Source Package: harfbuzz
  • normalized package name match
  • Matched by: Harfbuzz
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libharfbuzz-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libharfbuzz-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
  • Section: libs
  • Architecture: amd64
  • Source Package: harfbuzz
  • 3 dependencies
  • normalized package name match
  • Matched by: Harfbuzz
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libharfbuzz-gobject0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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