From 96cabca7ebe287692ebdff0dba6bb2897eba9d3e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 23:57:01 -0300 Subject: pdf: the test PDFs are files under test/pdf-fixtures, byte for byte what the generators wrote, where pdf.zig wrote each object by object (139 lines fewer there): testFixture reads one, the two outlines sized by the bridge's limits stay generated, and the sections bench embeds its outline Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/pdf-fixtures/rotated-link-javascript.pdf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 test/pdf-fixtures/rotated-link-javascript.pdf (limited to 'test/pdf-fixtures/rotated-link-javascript.pdf') diff --git a/test/pdf-fixtures/rotated-link-javascript.pdf b/test/pdf-fixtures/rotated-link-javascript.pdf new file mode 100644 index 00000000..e835e06b --- /dev/null +++ b/test/pdf-fixtures/rotated-link-javascript.pdf @@ -0,0 +1,25 @@ +%PDF-1.7 +1 0 obj +<< /Type /Catalog /Pages 2 0 R >> +endobj +2 0 obj +<< /Type /Pages /Count 1 /Kids [3 0 R] >> +endobj +3 0 obj +<< /Type /Page /Parent 2 0 R /MediaBox [100 200 300 400] /CropBox [120 220 280 370] /Rotate 90 /Resources << >> /Annots [4 0 R] >> +endobj +4 0 obj +<< /Type /Annot /Subtype /Link /Rect [120 220 160 270] /Border [0 0 0] /A << /S /JavaScript /JS (ignored) >> >> +endobj +xref +0 5 +0000000000 65535 f +0000000009 00000 n +0000000058 00000 n +0000000115 00000 n +0000000261 00000 n +trailer +<< /Size 5 /Root 1 0 R >> +startxref +388 +%%EOF -- cgit v1.3