This commit is contained in:
Adrià Arrufat
2026-03-09 18:25:09 +09:00
parent 379a3f27b8
commit 3e5f602396
2 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ _family: []const u8,
pub fn init(family: []const u8, source: []const u8, page: *Page) !*FontFace {
_ = source;
const arena = try page.getArena(.{.debug = "FontFace"});
const arena = try page.getArena(.{ .debug = "FontFace" });
errdefer page.releaseArena(arena);
const self = try arena.create(FontFace);

View File

@@ -28,7 +28,7 @@ const FontFaceSet = @This();
_arena: Allocator,
pub fn init(page: *Page) !*FontFaceSet {
const arena = try page.getArena(.{.debug = "FontFaceSet"});
const arena = try page.getArena(.{ .debug = "FontFaceSet" });
errdefer page.releaseArena(arena);
const self = try arena.create(FontFaceSet);