pkg.sopackage field notes

brew / 排名 13

使用 Homebrew 安装 harfbuzz

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install harfbuzz

provider-native install command

概览

软件包摘要

OpenType text shaping engine

命令和别名

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

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
hb-info可执行文件已索引可执行文件从本地可执行文件索引发现。
hb-raster可执行文件已索引可执行文件从本地可执行文件索引发现。
hb-shape可执行文件已索引可执行文件从本地可执行文件索引发现。
hb-subset可执行文件已索引可执行文件从本地可执行文件索引发现。
hb-vector可执行文件已索引可执行文件从本地可执行文件索引发现。
hb-view可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本14.3.0
管理器更新时间2026-07-31
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:harfbuzz
版本14.3.0
软件包管理器Homebrew
主页https://github.com/harfbuzz/harfbuzz
仓库https://github.com/harfbuzz/harfbuzz
最后更新2026-07-31T21:49:06Z
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation