summaryrefslogtreecommitdiff
path: root/test/pdf-fixtures/outline.pdf
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 23:57:01 -0300
committerGabriel Schneider <[email protected]>2026-11-05 01:02:08 -0300
commit96cabca7ebe287692ebdff0dba6bb2897eba9d3e (patch)
treefc74379958b5d6763966e4bc7c65e6a08e9ff4d5 /test/pdf-fixtures/outline.pdf
parentb4863573f775c73ca4e9aa233af2f6e5113c06b3 (diff)
downloadpardes-96cabca7ebe287692ebdff0dba6bb2897eba9d3e.tar.gz
pardes-96cabca7ebe287692ebdff0dba6bb2897eba9d3e.zip
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 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/pdf-fixtures/outline.pdf')
-rw-r--r--test/pdf-fixtures/outline.pdf54
1 files changed, 54 insertions, 0 deletions
diff --git a/test/pdf-fixtures/outline.pdf b/test/pdf-fixtures/outline.pdf
new file mode 100644
index 00000000..b0864599
--- /dev/null
+++ b/test/pdf-fixtures/outline.pdf
@@ -0,0 +1,54 @@
+%PDF-1.7
+%����
+1 0 obj
+<< /Type /Catalog /Pages 2 0 R /Outlines 7 0 R /PageMode /UseOutlines >>
+endobj
+2 0 obj
+<< /Type /Pages /Count 3 /Kids [3 0 R 4 0 R 5 0 R] >>
+endobj
+3 0 obj
+<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 300] /Resources << >> >>
+endobj
+4 0 obj
+<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 300] /Resources << >> >>
+endobj
+5 0 obj
+<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 300] /Resources << >> >>
+endobj
+6 0 obj
+<< >>
+endobj
+7 0 obj
+<< /Type /Outlines /First 8 0 R /Last 11 0 R /Count 4 >>
+endobj
+8 0 obj
+<< /Parent 7 0 R /First 9 0 R /Last 9 0 R /Next 10 0 R /Count 1 >>
+endobj
+9 0 obj
+<< /Title <FEFF00430061006600E900205B50> /Parent 8 0 R /Dest [4 0 R /XYZ 12 34 null] /F 3 /C [0.2 0.4 0.6] >>
+endobj
+10 0 obj
+<< /Title () /Parent 7 0 R /Prev 8 0 R /Next 11 0 R /Dest [5 0 R /FitH 70] >>
+endobj
+11 0 obj
+<< /Title (External) /Parent 7 0 R /Prev 10 0 R /A << /S /URI /URI (https://example.com/manual) >> >>
+endobj
+xref
+0 12
+0000000000 65535 f
+0000000015 00000 n
+0000000103 00000 n
+0000000172 00000 n
+0000000260 00000 n
+0000000348 00000 n
+0000000436 00000 n
+0000000457 00000 n
+0000000529 00000 n
+0000000611 00000 n
+0000000736 00000 n
+0000000830 00000 n
+trailer
+<< /Size 12 /Root 1 0 R >>
+startxref
+948
+%%EOF