From f5c056d3045b4b9baf86400a95e598044a0573b5 Mon Sep 17 00:00:00 2001 From: Jesse Miller Date: Thu, 17 Sep 2026 12:38:17 -0600 Subject: [PATCH] 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. --- src/font/nerd_font_codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/font/nerd_font_codegen.py b/src/font/nerd_font_codegen.py index 664555a39..226439358 100644 --- a/src/font/nerd_font_codegen.py +++ b/src/font/nerd_font_codegen.py @@ -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 {