HarfBuzz
![]() | |
Original author(s) | The FreeType Project |
---|---|
Developer(s) | Behdad Esfahbod |
Stable release | 9.0.0[1] ![]() |
Repository | |
Written in | C++ |
Operating system | Unix-like, Windows |
Type | Software development library |
License | MIT |
Website | harfbuzz![]() |
HarfBuzz (loose transliteration of Persian calque حرفباز harf-bāz, literally "open type")[2][3] is a software library for supporting 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.[2][4]
History
[edit]![](http://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Behdad_esfahbod_in_Zconf6_by_Mardetanha.jpg/220px-Behdad_esfahbod_in_Zconf6_by_Mardetanha.jpg)
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.[2] In 2013, Behdad Esfahbod won the O’Reilly Open Source Award for his work on HarfBuzz.[5]
Important milestones for New HarfBuzz include:
- 0.9.2, SIL Graphite 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.[6][7][8][9][10]
- 2.1 with color fonts support and improved major AAT Shaping features.
- 2.4 Unicode 12 support
- 2.6.7 Unicode 13 support
- 3.0 stable font subsetter API, Unicode 14 support[11]
- 4.0 more than 65536 Glyphs and metrics supported[12]
- 4.3 major speed up[13]
- 5.0 BE Fonts support[14]
- 5.2 Unicode 15 support[15]
- 7.0 introduced new APIs, new command-line utility, font emboldening support and reduced memory usage[16]
- 8.0 introduced support for using WebAssembly-based shaper embedded in fonts[17]
Users
[edit]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:
HarfBuzz is used directly by the applications:
- Chromium
- Firefox
- LibreOffice (from version 4.1 on Linux only,[21] from 5.3 on all platforms[22])
- Scribus[23]
- Inkscape
- Adobe Photoshop (since version 23.0[24])
- Adobe InDesign (when using World Ready Composer since InDesign 19.0[25])
See also
[edit]- Graphite (smart font technology)
- A programmable Unicode-compliant smart-font technology and rendering system developed by SIL International
- Uniscribe and DirectWrite
- Two APIs that provide similar functionality on the Microsoft Windows platform.
- Core Text
- An API provides similar functionality on macOS (HarfBuzz can be used instead of it on macOS also)
References
[edit]- ^ "Release 9.0.0 · harfbuzz/harfbuzz". Retrieved 28 June 2024.
- ^ a b c d 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. Archived from the original on 18 June 2015. Retrieved 25 September 2014.
- ^ 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
- ^ "Release 3.0.0 · harfbuzz/harfbuzz". GitHub. Retrieved 26 May 2023.
- ^ "HarfBuzz 4.0 Released for This Open-Source Text Shaping Library".
- ^ "HarfBuzz 4.3 Released with Big Performance Improvements".
- ^ "HarfBuzz 5.0 Released with Progress on Supporting the "Boring Expansion" Font Spec".
- ^ "HarfBuzz 5.2 Released with Unicode 15 Support".
- ^ "HarfBuzz 7.0 Text Shaping Engine Released".
- ^ "HarfBuzz 8.0 Released - Introduces Shaper for WebAssembly within Font Files".
- ^ "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". GitHub. 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.
- ^ "Unified Text Engine in Photoshop". 7 June 2022. Retrieved 25 May 2023.
- ^ "Feature summary of InDesign (October 2023 release)". 30 October 2023.