From e3aaae3a56a56d1147741ff9788a9f7607b9ee57 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 23:30:20 -0300 Subject: pdf: an outline entry is its depth, title and destination, where it also carried is_open, flags and color (with isBold and isItalic) that nothing shows, the sections rows reading none of them; their assertions in pdf.zig's outline test, the literals' fields in test/panes.zig and the sections bench's checksum of them go, and the bridge still fills its C item Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/pdf_sections_bench.zig | 6 ------ 1 file changed, 6 deletions(-) (limited to 'test/pdf_sections_bench.zig') diff --git a/test/pdf_sections_bench.zig b/test/pdf_sections_bench.zig index ce548924..47b74018 100644 --- a/test/pdf_sections_bench.zig +++ b/test/pdf_sections_bench.zig @@ -357,9 +357,6 @@ fn outlineIdentity(entries: []const pdf.OutlineEntry) Identity { var bytes: u64 = 0; for (entries) |entry| { checksum = mix(checksum, entry.depth); - checksum = mix(checksum, entry.flags); - checksum = mix(checksum, @intFromBool(entry.is_open)); - checksum = std.hash.Wyhash.hash(checksum, &entry.color); if (entry.title) |title| { bytes += title.len; checksum = std.hash.Wyhash.hash(checksum, title); @@ -389,9 +386,6 @@ fn makeWorstShape() ![]pdf.OutlineEntry { entry.* = .{ .depth = depth, .title = "Worst shape outline title", - .is_open = true, - .flags = 0, - .color = .{ 0, 0, 0 }, .destination = if (depth + 1 == near_limit_depth) .{ .internal = .{ .page = ordinal / near_limit_depth, -- cgit v1.3