HarfBuzz text shaping engine http://harfbuzz.github.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
ssmid 8de7e9fdb1 deprecation cleanup: HB_BUFFER_FLAGS_DEFAULT removed 8 months ago
.ci Bump fonttools from 4.52.1 to 4.53.0 in /.ci 9 months ago
.circleci Revert "[ci] Enable experimental_api on distcheck job" 11 months ago
.github Bump actions/checkout from 4.1.6 to 4.1.7 8 months ago
docs 8.5.0 9 months ago
m4
perf [instancer] Promote partial instancing api out of experimental. 10 months ago
src Move constant for max composite ops per glyph to hb-limits.hh 8 months ago
subprojects [meson] build ragel as a native tool 9 months ago
test deprecation cleanup: HB_BUFFER_FLAGS_DEFAULT removed 8 months ago
util [hb-info] Use 128 as max glyphname / name length instead of 64 9 months ago
.clang-format
.codecov.yml
.editorconfig [editorconfig] Make nvim happy 1 year ago
AUTHORS
BUILD.md [BUILD] Actually build project! 8 months ago
CMakeLists.txt Use find_package for ICU 8 months ago
CONFIG.md
COPYING
Makefile.am Add xkcd.png 1 year ago
NEWS Typo 9 months ago
README
README.md Update README.md 11 months ago
README.mingw.md
README.python.md
RELEASING.md
SECURITY.md
TESTING.md
THANKS
autogen.sh
configure.ac 8.5.0 9 months ago
git.mk
harfbuzz.doap
meson.build Merge pull request #4650 from fanc999-1/freetype-cmake 9 months ago
meson_options.txt Re-do and clean up CMake support, making it use relocatable paths 1 year ago
mingw-configure.sh
replace-enum-strings.cmake
xkcd.png Add xkcd.png 1 year ago

README.md

Linux CI Status CircleCI Build Status OSS-Fuzz Status Coverity Scan Build Status Codacy Badge Codecov Code Coverage Packaging status OpenSSF Scorecard

HarfBuzz

HarfBuzz is a text shaping engine. It primarily supports OpenType, but also Apple Advanced Typography. HarfBuzz is used in Android, Chrome, ChromeOS, Firefox, GNOME, GTK+, KDE, Qt, LibreOffice, OpenJDK, XeTeX, PlayStation, Microsoft Edge, Adobe Photoshop, Illustrator, InDesign, Godot Engine, and other places.

xkcd-derived image

For bug reports, mailing list, and other information please visit:

http://harfbuzz.org/

For license information, see COPYING.

Documentation

For user manual as well as API documentation, check: https://harfbuzz.github.io

Download

For tarball releases of HarfBuzz, look here. At the same place you will also find Win32/Win64 binary bundles that include libharfbuzz DLL, hb-view.exe, hb-shape.exe, and all dependencies.

The canonical source tree is available on github.

The API that comes with hb.h will not change incompatibly. Other, peripheral, headers are more likely to go through minor modifications, but again, we do our best to never change API in an incompatible way. We will never break the ABI.

If you are not sure whether Pango or HarfBuzz is right for you, read Pango vs HarfBuzz.

Development

For build information, see BUILD.md.

For custom configurations, see CONFIG.md.

For testing and profiling, see TESTING.md.

To get a better idea of where HarfBuzz stands in the text rendering stack you may want to read State of Text Rendering, though, that document is many years old. Here are a few presentation slides about HarfBuzz at the Internationalization and Unicode Conference over the years:

Both development and user support discussion around HarfBuzz happens on the github.

To report bugs or submit patches please use github issues and pull-requests.

For a comparison of old vs new HarfBuzz memory consumption see this.

Name

HarfBuzz (حرفباز) is the literal Persian translation of “OpenType”, transliterated using the Latin script. It also means "talkative" or "glib" (also a nod to the GNOME project where HarfBuzz originates from).

Background: Originally there was this font format called TrueType. People and companies started calling their type engines all things ending in Type: FreeType, CoolType, ClearType, etc. And then came OpenType, which is the successor of TrueType. So, for my OpenType implementation, I decided to stick with the concept but use the Persian translation. Which is fitting given that Persian is written in the Arabic script, and OpenType is an extension of TrueType that adds support for complex script rendering, and HarfBuzz is an implementation of OpenType complex text shaping.

Packaging status of HarfBuzz

Packaging status