NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #2375 most downloaded on crates.io
A complete HarfBuzz shaping algorithm port to Rust.
Latest stable
0.15.0
Last release 1 months ago
22 Oct 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 30 of 30 stable releases
2 versions withdrawn
withdrawn after publishing
1 years old
32 releases · first in 2025
Drag across the ruler to compare, or tap a release to open it.
This release matches HarfBuzz v15.0.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v15.0.0, and has an MSRV (minimum supported Rust version) of 1.85.
read-fonts to 0.46. Font and the rest of the font model that
HarfRust re-exports come from that release.ShapePlanKey::new borrows the font for the lifetime of the key. A plan
built for a font with lookup variations matches only keys at the same
location.tracing support with Buffer::set_message_function callbacks
and hr-shape --trace output, including intermediate Unicode and glyph
contents. Tracing also works without std and compiles out when disabled.subset feature),
glyph drawing and painting backed by Skrifa (draw and paint), HarfBuzz
C++ ownership helpers, MATH and baseline queries, the set and map APIs,
OpenType tag conversion, glyph collection for sets and lookups, face
metadata and table enumeration, UTF-16 and Latin-1 buffer input, and batched
nominal glyph callbacks.ShaperFont reads
no tables.morx, mort, kern and kerx subtables with the font's
tables, and build each AAT table's cache when it is first applied. AAT
shaping is 5 to 13% faster.Option
from buffer lookups instead of panicking.lookupType instead of
truncating it to u8. A malformed font could have e.g. type 3586 dispatched
as MultipleSubst, expanding a single character into thousands of glyphs and
costing up to a second per shape call. HarfBuzz rejects such tables.u16: glyphs supplied by the caller, such as the not-found variation selector glyph, are passed through unchanged. Shaping tests now cover values above u16::MAX.Your coding agent can read these notes before it upgrades. Set up the MCP server →
This release matches HarfBuzz v14.5.1, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.5.1, and has an MSRV (minimum supported Rust version) of 1.85.
UnicodeBuffer and GlyphBuffer with one Buffer that holds input
Unicode code points before shaping and glyphs afterward. ContentType
reports which state the buffer is in. The old buffer types and their
conversion methods have been removed.FontRef entry point with Font from read-fonts, re-exported
as harfrust::Font. Create a ShaperFont from a Font (or one of its
instances) before shaping.Shaper, ShaperBuilder, ShaperInstance, and ShaperData
API with ShaperFont.FontFuncs on ShaperFont instead of
ShapeOptions.harfrust::shape(&shaper_font, &mut buffer, options).
It returns Result<(), ShapeError> for invalid shaping state or properties,
rather than returning a separate glyph buffer. Check
Buffer::allocation_successful() separately for allocation or shaping-limit
failure.Replace UnicodeBuffer construction and the returned GlyphBuffer with a
single mutable Buffer. For example, with font_data containing font bytes:
use harfrust::{shape, Buffer, Font, ShapeOptions, ShaperFont};
let font = Font::new(font_data, 0).expect("invalid font");
let shaper_font = ShaperFont::new(&font);
let mut buffer = Buffer::new();
buffer.push_str("Hello");
buffer.guess_segment_properties();
shape(&shaper_font, &mut buffer, ShapeOptions::new()).expect("shaping failed");
let glyphs = buffer.glyph_infos();
let positions = buffer.glyph_positions();
Use buffer.clear() to reuse its allocation for another run, then push new
text. Call guess_segment_properties() or set the direction and other segment
properties explicitly before shaping.
Use ShaperFont::set_scale or set_scale_separate for scaling, and
ShaperFont::set_font_funcs for custom font callbacks. ShaperFont borrows the
Font and any supplied callbacks, so it is intended as a short-lived shaping
view; keep the Font and callbacks alive and construct a ShaperFont as needed.
ShapeOptions holds per-call features, an optional plan, and point size.
read-fonts to 0.45.0 and use its current font model API.x-hbot-
and x-hbsc- private-use subtags, such as x-hbot-4d4f4e54 for MONT.harfrust::unicode module.
Decomposition returns a Decomposed enum.harfrust_capi crate, a C API mirroring the shaping half of
HarfBuzz's API with an hr_ prefix in place of hb_.hr-shape runs and contextual lookup matching.attach_chain that
mispositioned the mark.would_apply for format 3 (coverage-based) contextual lookups, which
never matched, so the Indic shaper missed features built from them. Noto Sans
Bengali's ra-phala (e.g. গ্র) came out as consonant, visible hasant and ra.This release matches HarfBuzz v14.3.1, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.3.1, and has an MSRV (minimum supported Rust version) of 1.85.
mort tables, including
language-specific morph features (#451, #453).kerx tables (#452).kern state tables that declare more than
256 classes (#455).no_std builds (#454, #456).read-fonts to 0.43.3.This release matches HarfBuzz v14.3.1, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.3.1, and has an MSRV (minimum supported Rust version) of 1.85.
kern tables (#439).This release matches HarfBuzz v14.3.1, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.3.1, and has an MSRV (minimum supported Rust version) of 1.85.
icu_properties to 2.2.0 (#422).move_to operations against max_ops (#426, #429).morx subtables through packed
descriptors, resolving subtable kinds from cached parts, and adding a
state-machine fast path (#428, #430, #431).morx digest update when GPOS is not present (#433).FontFuncs (#434).read-fonts to 0.43.2 (#432, #435).This release matches HarfBuzz v14.3.1, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.3.1, and has an MSRV (minimum supported Rust version) of 1.85.
attach_chain offsets
that could panic on buffers longer than 32767 glyphs (#411).calt to non-Hangul characters in Hangul runs while continuing to
suppress it for Jamo.Hrkt script to the OpenType kana script tag.read-fonts to 0.43.0 (#418).This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
read-fonts to 0.41.0 (#403).packtab (#401).trak tracking fractional to match HarfBuzz (#404).This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
read-fonts Font API behind the experimental_font_api
feature flag in both read-fonts and harfrust, and update read-fonts to 0.40.2.This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
Reify glyph flags into a GlyphFlags type. Existing methods on GlyphInfo remain for now to avoid a breaking change but will be removed in a future vers…
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
Language::new constructor that accepts strings or bytes.GlyphId so that FontFuncs implementors don't need to add extra dependencies to name the type.GlyphFlags type. Existing methods on GlyphInfo remain for now to avoid a breaking change but will be removed in a future version.This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
FontFuncs and ShapeOptions::font_funcs.ShapeOptions::scale and ShapeOptions::scale_separate.This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
ShapeOptions type as argument to shape calls, preparation for being
able to pass font functions. ShapeOptions accepts shape plan, point size, features.
shape_with_plan() function removed in favor of new builder-style API.Release 0.7.1 was released prematurely and yanked from crates.io.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
One of libm or std features is now required to build harfrust, matching the behavior of the fontations crates. This is a breaking change.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.2.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.1.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v14.1.0, and has an MSRV (minimum supported Rust version) of 1.85.
Roll to read-fonts 0.39.0.
This release matches HarfBuzz [v14.1.0][harfbuzz-14.1.0], and has an MSRV (minimum supported Rust version) of 1.85.
Roll to read-fonts 0.39.0.
This release matches HarfBuzz v13.0.0, and has an MSRV (minimum supported Rust version) of 1.85.
0.5.2
This release matches HarfBuzz v13.0.0, and has an MSRV (minimum supported Rust version) of 1.85.
Fix hr-shape dependency, so we can publish on crates.io.
This release matches HarfBuzz [v13.0.0][harfbuzz-13.0.0], and has an MSRV (minimum supported Rust version) of 1.85.
Fix hr-shape dependency, so we can publish on crates.io.
This release matches HarfBuzz v12.3.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v12.3.0, and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz [v12.3.0][harfbuzz-12.3.0], and has an MSRV (minimum supported Rust version) of 1.85.
This release matches HarfBuzz v12.2.0, and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz v12.2.0, and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz [v12.2.0][harfbuzz-12.2.0], and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz [v12.2.0][harfbuzz-12.2.0], and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz [v12.2.0][harfbuzz-12.2.0], and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz v12.1.0, and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz v12.1.0, and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz v11.5.0, and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz v11.5.0, and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz [v11.5.0][harfbuzz-11.5.0], and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz v11.5.0, and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz v11.5.0, and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz [v11.5.0][harfbuzz-11.5.0], and has an MSRV (minimum supported Rust version) of 1.82.
This release matches HarfBuzz v11.5.0, and has an MSRV (minimum supported Rust version) of 1.80.
This release matches HarfBuzz v11.5.0, and has an MSRV (minimum supported Rust version) of 1.80.
ShapePlan.This release matches HarfBuzz v11.4.4, and has an MSRV (minimum supported Rust version) of 1.80.
This release matches HarfBuzz v11.4.4, and has an MSRV (minimum supported Rust version) of 1.80.
This release matches HarfBuzz [v11.4.4][harfbuzz-11.4.4], and has an MSRV (minimum supported Rust version) of 1.80.
More speedups and correctness.
More speedups and correctness.
This release matches HarfBuzz [v11.3.3][harfbuzz-11.3.3], and has an MSRV (minimum supported Rust version) of 1.80.
ShapePlanKey.This release matches HarfBuzz [v11.3.3][harfbuzz-11.3.3], and has an MSRV (minimum supported Rust version) of 1.75.
This release matches HarfBuzz [v11.3.3][harfbuzz-11.3.3], and has an MSRV (minimum supported Rust version) of 1.75.
This release matches HarfBuzz [v11.2.1][harfbuzz-11.2.1], and has an MSRV (minimum supported Rust version) of 1.75.
This release matches HarfBuzz v11.2.1, and has an MSRV (minimum supported Rust version) of 1.75.
HarfRust is a fork of RustyBuzz. See their changelog for details of prior releases.
<!-- The last release of RustyBuzz before 0.1.0. --> [0.1.0]: https://github.com/harfbuzz/harfrust/compare/8c52723ff75e91a33ae36e527baed871097e64bf...0.1.0
One column per month.