mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-09 11:26:41 +00:00
font: constrain dingbats
This was a regression, we were giving dingbats an extra cell of constraint width but not actually applying constraints to them.
This commit is contained in:
@@ -351,8 +351,8 @@ if __name__ == "__main__":
|
||||
const Constraint = @import("face.zig").RenderOptions.Constraint;
|
||||
|
||||
/// Get the a constraints for the provided codepoint.
|
||||
pub fn getConstraint(cp: u21) Constraint {
|
||||
pub fn getConstraint(cp: u21) ?Constraint {
|
||||
return switch (cp) {
|
||||
""")
|
||||
f.write(generate_zig_switch_arms(patch_set, nerd_font))
|
||||
f.write("\n else => .none,\n };\n}\n")
|
||||
f.write("\n else => null,\n };\n}\n")
|
||||
|
Reference in New Issue
Block a user