PDF boxes twice? pdftex bug database
Michael Altmann <[email protected]> Fri, 30 Oct 2020 17:42:01 +0100
| Newsgroups | gmane.comp.tex.pdftex |
|---|---|
| Message-ID | <[email protected]> |
Dear pdfTeX experts,
I'd like to report a possible bug in pdflatex:
Usually, I set the PDF boxes with
\pdfpageattr{
/MediaBox [0 0 617.9528 286.2992]^^J
/BleedBox [0 0 617.9528 286.2992]^^J
/CropBox [11.3386 11.3386 606.6142 274.9606]^^J
/TrimBox [11.3386 11.3386 606.6142 274.9606]
}
This work correctly.
But if I add a background image using the wallpaper package, the PDF
file contains a second set of boxes:
/Type /Page
/Contents 8 0 R
/Resources 6 0 R
/MediaBox [0 0 617.9528 286.2992]
/BleedBox [0 0 617.9528 286.2992]
/CropBox [11.3386 11.3386 606.6142 274.9606]
/TrimBox [11.3386 11.3386 606.6142 274.9606]
/Parent 13 0 R
... some stuff ...
/Type /Pages
/Count 1
/Kids [7 0 R]
/MediaBox[0 0 617.95123 286.29851]
/BleedBox[0 0 617.95123 286.29851]
/CropBox[0 0 617.95123 286.29851]
/TrimBox[25 20 592.95123 266.29851]
>>
endobj
To my knowledge the second set of boxes within the same document is an
error and should be suppressed when a explicit \pdfpageattr{…} is given.
If this is my fault, could you hint me on how to avoid this?
Many thanks &
Best regards
Michael Altmann
Nahestraße 2
55118 Mainz
Telefon: (0 61 31) 892 91 82
Telefax: (0 61 31) 892 91 85
E-Mail: [email protected] <mailto:[email protected]?Subject=Antwort>