diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 23:57:01 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 01:02:08 -0300 |
| commit | 96cabca7ebe287692ebdff0dba6bb2897eba9d3e (patch) | |
| tree | fc74379958b5d6763966e4bc7c65e6a08e9ff4d5 /test/pdf-fixtures/links.pdf | |
| parent | b4863573f775c73ca4e9aa233af2f6e5113c06b3 (diff) | |
| download | pardes-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/links.pdf')
| -rw-r--r-- | test/pdf-fixtures/links.pdf | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/test/pdf-fixtures/links.pdf b/test/pdf-fixtures/links.pdf new file mode 100644 index 00000000..bc9aa255 --- /dev/null +++ b/test/pdf-fixtures/links.pdf @@ -0,0 +1,55 @@ +%PDF-1.7 +%���� +1 0 obj +<< /Type /Catalog /Pages 2 0 R >> +endobj +2 0 obj +<< /Type /Pages /Count 2 /Kids [3 0 R 4 0 R] >> +endobj +3 0 obj +<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 300] /Resources << /Font << /F1 5 0 R >> >> /Contents 6 0 R /Annots [7 0 R 8 0 R 9 0 R 10 0 R] >> +endobj +4 0 obj +<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 300] /Resources << >> >> +endobj +5 0 obj +<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica >> +endobj +6 0 obj +<< /Length 131 >> +stream +BT /F1 6 Tf 20 240 Td (target.txt) Tj ET +BT /F1 6 Tf 20 120 Td (https://example.com/same) Tj ET +BT /F1 6 Tf 20 60 Td (label) Tj ET +endstream +endobj +7 0 obj +<< /Type /Annot /Subtype /Link /Rect [20 230 120 260] /Border [0 0 0] /A << /S /URI /URI (https://example.com/embedded) >> >> +endobj +8 0 obj +<< /Type /Annot /Subtype /Link /Rect [20 170 120 200] /Border [0 0 0] /Dest [4 0 R /XYZ 12 34 null] >> +endobj +9 0 obj +<< /Type /Annot /Subtype /Link /Rect [20 110 190 140] /Border [0 0 0] /A << /S /URI /URI (https://example.com/same) >> >> +endobj +10 0 obj +<< /Type /Annot /Subtype /Link /Rect [20 50 120 80] /Border [0 0 0] /A << /S /URI /URI (https://example.com/only) >> >> +endobj +xref +0 11 +0000000000 65535 f +0000000015 00000 n +0000000064 00000 n +0000000127 00000 n +0000000288 00000 n +0000000376 00000 n +0000000446 00000 n +0000000627 00000 n +0000000768 00000 n +0000000886 00000 n +0000001023 00000 n +trailer +<< /Size 11 /Root 1 0 R >> +startxref +1159 +%%EOF |
