Library

harfbuzz 15.2.0

Version15.2.0
Stars★ 6,238
Released2026-11-19

HarfBuzz text shaping engine

Release notes

- Performance and hardening:
  * Make `GSUB` and `GPOS` lookups, AAT kerning, and UTF decoding faster.
  * Raise the default work limits for shaping, rendering, and subsetting. Very
    complex fonts exceeded the old limits.
  * Fix various crashes, hangs, and high memory use with malformed fonts.

- New features:
  * Add a font constructor that does not install default font functions, for
    clients that install their own font functions.
  * Add an API to get the `JSTF` extender glyphs of a script.
  * Support bitmap glyphs in `CBDT` format 19.

- Shaping:
  * Fix per-syllable `GSUB` lookups that matched a glyph 15 syllables later,
    for example in long Myanmar text.
  * Fix `GPOS` marks that attached to an earlier base when a ranged feature did
    not apply to the nearest base, a regression from 7.0.0.
  * Fix precomposed characters that stayed decomposed in text with no marks, in
    the Indic, Khmer, Myanmar, and USE shapers.
  * A global feature request now overrides earlier ranged requests for the same
    feature. Before, the ranged request kept its value and could disable
    unrelated features.
  * An unsupported character followed by a variation selector now gets the
    not-found glyph set on the buffer, instead of always getting glyph 0.
  * Fix fallback mark positioning to use the x offset of the base.
  * Fix cross-stream kerning from the `kern` table. The reset value caused a
    large shift. The offset used the scale of the wrong axis.
  * Fix missing unsafe-to-break flags in text with cross-stream kerning from
    `kern` or `kerx`.
  * Apply the `kern` table in vertical text when the client requests `vkrn` and
    `GPOS` does not have it.
  * Fix missing unsafe-to-break flags with `HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES`.

- Script-specific shaping:
  * The Indic shaper no longer applies `init` to a first syllable that follows
    a letter or mark in the pre-context.
  * The USE shaper no longer uses a space as the base of a dependent vowel.
    The vowel now gets a dotted circle.
  * The USE shaper now ends a word at spaces and symbols when it selects
    `isol`, `init`, `medi`, and `fina` forms.
  * The Khmer shaper now moves only one Coeng Ro before the base, and only
    when it is the first or second coeng of the syllable.
  * A Hangul tone mark at the start of the text now gets only one dotted circle.
  * An archaic trailing jamo after a Hangul syllable now gets the
    unsafe-to-break flag at the character cluster levels.
  * Dotted circles for Hangul tone marks and prohibited vowel sequences now
    keep their advance in fonts without `GDEF`.
  * Prohibited vowel sequences now get a dotted circle also when a default
    ignorable, such as ZWJ, is between the vowels.
  * The Hebrew shaper now composes presentation forms in fonts that have
    `mark` only under the `DFLT` script.
  * The Arabic shaper now centers `stch` tiles on short words and exact fits.

- AAT shaping:
  * Fix `trak` tracking in vertical text, where positive tracking decreased
    the spacing.
  * Apply the pair and class kerning of `kerx` together with `GPOS` when `GPOS`
    has no kerning feature. Before, HarfBuzz did not apply `kerx` in such
    fonts.
  * A later request for a feature now overrides earlier requests, as in
    OpenType shaping.

- Other shapers and font functions:
  * Update HarfRust to 0.16.1. The HarfRust shaper now uses the not-found glyph
    set on the buffer.
  * Fix vertical advances of `trak` fonts with the CoreText font functions.
  * Fix the CoreText face loader, which could select the wrong face of a font
    collection, or a named instance.
  * Fix vertical glyph origins with the FreeType font functions in fonts with
    vertical bearings that are not centered, a regression from 15.1.0.
  * `hb_ft_font_create()` no longer loads a second FreeType face when FreeType
    provides the default font functions.

- Core library:
  * The de…

Share this resource


Discovered 2026-11-20 Source GitHub Archive 2026-11 →