|Original author(s)||The FreeType Project|
|Stable release||2.7.4 (26 December 2020)|
|Operating system||Unix-like, Windows|
|Type||Software development library|
HarfBuzz (loose transliteration of Persian حرفباز harf-bāz, meaning "open type") is a software development library for text shaping, which is the process of converting Unicode text to glyph indices and positions. The newer version, New HarfBuzz (2012–), targets various font technologies while the first version, Old HarfBuzz (2006–2012), targeted only OpenType fonts.
HarfBuzz evolved from code that was originally part of the FreeType project. It was then developed separately in Qt and Pango. Then it was merged back into a common repository with an MIT license. This was Old HarfBuzz, which is no longer being developed, as the path going forward is New HarfBuzz. In 2013, Behdad Esfahbod won the O’Reilly Open Source Award for his work on HarfBuzz.
Important milestones for new HarfBuzz include:
- 0.9.2, Graphite (SIL) support
- 1.0 includes Universal Shaping Engine concepts from Microsoft
- 1.4 with OpenType font variation support
- 1.6 with Unicode 10 support
- 1.8 with Unicode 11 support
- 2.0 with Apple Advanced Typography (AAT) shaping support.
- 2.1 with color fonts support and improved major AAT Shaping features.
Most applications don't use HarfBuzz directly, but use a UI toolkit library that integrates with it. HarfBuzz is used by the UI libraries of GNOME, KDE, Chrome OS, PlayStation 4, Android, Java, and Flutter; and directly by applications Chromium, Firefox, LibreOffice (from version 4.1 on Linux only, from 5.3 on all platforms), Scribus, and Inkscape.
- Graphite (SIL) – a programmable Unicode-compliant smart-font technology and rendering system developed by SIL International
- Uniscribe and DirectWrite – two APIs that provide similar functionality on Microsoft Windows platform (HarfBuzz can be used instead of them on Windows also)
- Core Text – an API provides similar functionality on OS X (HarfBuzz can be used instead of it on OS X also)
- "Release 2.7.4 · harfbuzz/harfbuzz". Retrieved 26 December 2020.
- Byfield, Bruce (19 December 2017). "HarfBuzz brings professional typography to the desktop". LWN.net.
- "HarfBuzz". freedesktop.org.
- "HarfBuzz Official website". Retrieved 10 November 2012.
- "O'Reilly Open Source Awards: OSCON 2013". 26 July 2013.
- HarfBuzz 1.0 Implements Microsoft's Universal Shaping Engine Released
- HarfBuzz 1.4 Brings OpenType GX / Font Variations
- HarfBuzz 1.8 Released With Unicode 11 Support
- HarfBuzz 2.0 Released For Advancing Open-Source Text Shaping
- HarfBuz articles on Phoronix
- "HarfBuzz". doc.dl.playstation.net. Retrieved 26 May 2019.
- "JEP 258: HarfBuzz Font-Layout Engine". OpenJDK Enhancement Proposals. Retrieved 20 December 2017.
- "Flutter Engine Wiki". Retrieved 11 April 2018.
- "LibreOffice 4.1 ReleaseNotes". The Document Foundation. 30 July 2013. Retrieved 6 October 2019.
- LibreOffice 5.3 Enables New Layout Engine By Default
- "Scribus 1.5.3 Released". 22 May 2017. Retrieved 6 June 2018.