Make size normalization reference customizable per face

This commit is contained in:
Daniel Wennberg
2025-07-17 10:21:06 -07:00
parent 6491ea41fb
commit e7d28a85c8
6 changed files with 385 additions and 275 deletions

View File

@@ -376,11 +376,11 @@ fn testGrid(mode: TestMode, alloc: Allocator, lib: Library) !SharedGrid {
switch (mode) {
.normal => {
_ = try c.add(alloc, .regular, .{ .loaded = try .init(
_ = try c.add(alloc, .regular, .init(.{ .loaded = try .init(
lib,
testFont,
.{ .size = .{ .points = 12, .xdpi = 96, .ydpi = 96 } },
) });
) }));
},
}