mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-03 20:12:42 +00:00
15 lines
372 B
Zig
15 lines
372 B
Zig
const builtin = @import("builtin");
|
|
const options = @import("main.zig").options;
|
|
const harfbuzz = @import("shaper/harfbuzz.zig");
|
|
|
|
/// Shaper implementation for our compile options.
|
|
pub const Shaper = switch (options.backend) {
|
|
.freetype,
|
|
.fontconfig_freetype,
|
|
.coretext_freetype,
|
|
.coretext,
|
|
=> harfbuzz.Shaper,
|
|
|
|
.web_canvas => harfbuzz.Shaper,
|
|
};
|