summaryrefslogtreecommitdiff
path: root/test/pdf-fixtures/rotated-link-javascript.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/rotated-link-javascript.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/rotated-link-javascript.pdf')
-rw-r--r--test/pdf-fixtures/rotated-link-javascript.pdf25
1 files changed, 25 insertions, 0 deletions
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