From 0dbcf0b7a4bdd0f98879aa2057f167c61a40f37c Mon Sep 17 00:00:00 2001 From: Mex <44814932+MMexicann@users.noreply.github.com> Date: Mon, 9 Nov 2026 01:46:23 +0100 Subject: [PATCH] M1: define the Info object in the testkit README example (#6191) --- crates/testkit/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/testkit/README.md b/crates/testkit/README.md index 44388b1b23..5fa75b884d 100644 --- a/crates/testkit/README.md +++ b/crates/testkit/README.md @@ -26,6 +26,7 @@ let bytes = Pdf::new() .obj("<< /Type /Pages /Kids [3 0 R] /Count 1 >>") .obj("<< /Type /Page /Parent 2 0 R /Contents 4 0 R >>") .stream("", b"BT /F1 12 Tf (hi) Tj ET") // /Length computed + .obj("<< /Producer (pdfcraft-testkit example) >>") // becomes 5 0 R .trailer_entry("/Info 5 0 R") .build(); ```