M1: define the Info object in the testkit README example (#6191)

This commit is contained in:
Mex authored and GitHub committed 2026-11-09 08:46:23 +08:00
1 parent 2e524566d6
commit 0dbcf0b7a4
1 file changed
+1
+1
View File
@@ -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();
```