ghostty/pkg/fontconfig/common.zig
Mitchell Hashimoto aca36ba79b fontconfig: fc-match
2022-09-14 14:26:42 -07:00

17 lines
397 B
Zig

const std = @import("std");
const c = @import("c.zig");
pub const Result = enum(c_uint) {
match = c.FcResultMatch,
no_match = c.FcResultNoMatch,
type_mismatch = c.FcResultTypeMismatch,
no_id = c.FcResultNoId,
out_of_memory = c.FcResultOutOfMemory,
};
pub const MatchKind = enum(c_uint) {
pattern = c.FcMatchPattern,
font = c.FcMatchFont,
scan = c.FcMatchScan,
};