harfbuzz ported to the zig build system
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-28 02:44:56 +01:00
.github/workflows add CI script 2026-09-05 00:37:01 +02:00
.gitattributes add .gitattributes 2026-10-28 02:44:56 +01:00
.gitignore Upgrade to HarfBuzz 14.1.0 2026-04-13 17:30:03 -06:00
build.zig improve freetype integration 2026-08-31 00:43:52 +02:00
build.zig.zon Upgrade to HarfBuzz 14.4.0 2026-09-05 00:37:02 +02:00
LICENSE make it work outside ghostty 2024-09-14 22:42:21 -07:00
README.md update README.md 2026-09-05 00:37:02 +02:00

CI

harfbuzz

This is harfbuzz packaged for Zig.

Installation

First, update your build.zig.zon:

# Initialize a `zig build` project if you haven't already
zig init
zig fetch --save git+https://github.com/allyourcodebase/harfbuzz.git

You can then import harfbuzz in your build.zig with:

const harfbuzz_dependency = b.dependency("harfbuzz", .{
    .target = target,
    .optimize = optimize,
});
your_exe.root_module.linkLibrary(harfbuzz_dependency.artifact("harfbuzz"));