font: import Constraint from Glyph.zig in nerd-font codegen

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:
Jesse Miller
2026-09-17 12:38:17 -06:00
parent f9a3f24a56
commit f5c056d304

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 {