font/harfbuzz: work with new collection API

This commit is contained in:
Mitchell Hashimoto
2024-08-23 15:30:47 -07:00
parent 874caf29da
commit 5befe75a1f

View File

@ -1207,7 +1207,7 @@ fn testShaperWithFont(alloc: Allocator, font_req: TestFont) !TestShaper {
var lib = try Library.init();
errdefer lib.deinit();
var c = try Collection.init(alloc);
var c = Collection.init();
c.load_options = .{ .library = lib };
// Setup group