mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-22 23:35:20 +00:00
font: Face initializes a hb_font alongside every face
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const std = @import("std");
|
||||
const freetypepkg = @import("../freetype/build.zig");
|
||||
|
||||
/// Directories with our includes.
|
||||
const root = thisDir() ++ "../../../vendor/harfbuzz/";
|
||||
@@ -9,6 +10,7 @@ pub const include_paths = .{include_path};
|
||||
pub const pkg = std.build.Pkg{
|
||||
.name = "harfbuzz",
|
||||
.source = .{ .path = thisDir() ++ "/main.zig" },
|
||||
.dependencies = &.{freetypepkg.pkg},
|
||||
};
|
||||
|
||||
fn thisDir() []const u8 {
|
||||
|
||||
@@ -7,7 +7,7 @@ pub usingnamespace @import("face.zig");
|
||||
pub usingnamespace @import("font.zig");
|
||||
pub usingnamespace @import("shape.zig");
|
||||
pub usingnamespace @import("version.zig");
|
||||
pub const Freetype = @import("freetype.zig");
|
||||
pub const freetype = @import("freetype.zig");
|
||||
|
||||
test {
|
||||
@import("std").testing.refAllDecls(@This());
|
||||
|
||||
Reference in New Issue
Block a user