freetype 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:45:27 +01:00
.github/workflows add CI script 2026-10-26 20:32:05 +01:00
.gitattributes add .gitattributes 2026-10-28 02:45:27 +01:00
.gitignore Upgrade to FreeType 2.14.3 2026-04-13 17:25:40 -06:00
build.zig make dependencies lazy and support system integration options 2026-08-17 19:17:34 +02:00
build.zig.zon update README.md 2026-08-17 19:21:35 +02:00
LICENSE get it working as an independent package 2024-09-13 21:15:44 -07:00
README.md update README.md 2026-08-17 19:21:35 +02:00

CI

freetype

This is freetype 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/freetype.git

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

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