mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-09-20 12:38:08 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user