Skip to content
EntityQ4119352· pop 15· linked from 334 articles

HarfBuzz (loose transliteration of Persian calque harf-bāz, literally "open type") is an open-source text shaping engine written in C++. Text shaping is the process of converting a sequence of Unicode code points into the correct glyph identifiers and precise positions needed to render text on screen or in print. For scripts where characters change shape depending on their neighbours (such as Arabic, Devanagari, or Tamil), text shaping ensures that the right glyph forms are selected and joined correctly. Without it, text renderers would display raw disconnected code points rather than readable

Key facts

Software.name
HarfBuzz
Software.logo
HarfBuzz.svg
Software.logo_size
x64px
Software.author
The FreeType Project
Software.developer
Behdad Esfahbod, Khaled Hosny
Software.programming language
C++
Software.operating system
Unix-like, Windows, OpenHarmony
Software.genre
Software development library
Software.license
MIT

via Wikipedia infobox

Official website

HarfBuzz Manual: HarfBuzz Manual

HarfBuzz HarfBuzz is a text shaping library. Using the HarfBuzz library allows programs to convert a sequence of Unicode input into properly formatted and positioned glyph output—for any writing system and language. HarfBuzz also includes font subsetting, glyph rasterization (bitmap, vector, and GPU), and integration with FreeType, Cairo, CoreText, DirectWrite, and other platforms. See github.com/harfbuzz/harfbuzz for an overview of all libraries and tools, download instructions, and development resources.

harfbuzz.github.io

Link to the official site · 19,098 chars · not written by Vinony

Source code

Link to the source-code README · 10,136 chars · not written by Vinony

Wikidata facts

Official website
harfbuzz.org
Show 4 more facts
user manual URL
harfbuzz.github.io
software version identifier
14.2.0
source code repository URL
github.com/harfbuzz/harfbuzz
Sources (5)

via Wikidata · CC0

~6 min read

Article

6 sections
Contents
  • History
  • Architecture
  • Users
  • See also
  • References
  • External links

HarfBuzz (loose transliteration of Persian calque harf-bāz, literally "open type") is an open-source text shaping engine written in C++. Text shaping is the process of converting a sequence of Unicode code points into the correct glyph identifiers and precise positions needed to render text on screen or in print. For scripts where characters change shape depending on their neighbours (such as Arabic, Devanagari, or Tamil), text shaping ensures that the right glyph forms are selected and joined correctly. Without it, text renderers would display raw disconnected code points rather than readable words.

HarfBuzz takes a string of Unicode text, a font file, and information about the writing script and language as input. It returns a list of glyph IDs and their x/y positions, which a rendering engine such as Cairo or Skia then uses to draw the text. The library supports multiple font technologies, including OpenType, Apple Advanced Typography (AAT), and SIL Graphite.

Connections

Categories