font: import Constraint from Glyph.zig in nerd-font codegen (#14282)

1c0aac54b moved RenderOptions.Constraint from face.zig to Glyph.zig and
updated nerd_font_attributes.zig. This does the matching change to the
generator.
This commit is contained in:
Mitchell Hashimoto
2026-09-18 06:27:34 -07:00
committed by GitHub

View File

@@ -566,7 +566,7 @@ if __name__ == "__main__":
//! This file provides info extracted from the nerd fonts patcher script,
//! specifying the scaling/positioning attributes of various glyphs.
const Constraint = @import("face.zig").RenderOptions.Constraint;
const Constraint = @import("Glyph.zig").RenderOptions.Constraint;
/// Get the constraints for the provided codepoint.
pub fn getConstraint(cp: u21) ?Constraint {