font: move auto-italicization to Group

This commit is contained in:
Mitchell Hashimoto
2023-08-25 13:16:42 -07:00
parent 1dcf921ed9
commit ad6c2b6cc8
5 changed files with 60 additions and 91 deletions

View File

@@ -183,7 +183,6 @@ test {
// Setup group
try cache.group.addFace(
alloc,
.regular,
DeferredFace.initLoaded(try Face.init(lib, testFont, .{ .points = 12 })),
);
@@ -340,7 +339,6 @@ test "resize" {
// Setup group
try cache.group.addFace(
alloc,
.regular,
DeferredFace.initLoaded(try Face.init(lib, testFont, .{ .points = 12, .xdpi = 96, .ydpi = 96 })),
);