objects.rs (own minimal writer: numbered objects, streams, classic xref, pdf-lib's string forms; pdf-writer not used: every number spelt through numberToString, no f32), serialize.rs (catalog with names tree and AF, pages, 3 Type1 WinAnsi fonts, image XObjects with the DeviceGray SMask, Link annotations with hex ASCII URIs, Info with Producer/Creator Faunosteo, the Flate attachment with Params and Filespec), export.rs (checks → envelope as JSON.stringify(_, null, 2) → layout → file → self-check through the R4 reader; export_from_envelope). cargo pdf_serialize against the 14 R3 PDFs: content streams equal after resource-name resolution, image planes and SMasks equal, links equal, Info equal but Producer/Creator, attachment bytes equal (store path: values equal, D-R11 order); qpdf --check clean, pdfdetach lists the attachment, poppler 150 dpi 0 pixel differs on 14 runs; R4 PDF → Rust import = R3 PDF import, re-export from the envelope byte-identical; R4 output digests frozen in goldens/r4/pdf.*.sha256.
2 lines
65 B
Plaintext
2 lines
65 B
Plaintext
57bcac416cce264a09e221d8ece8dd8ebfcb7244b3feae6659a4c95a99549383
|