[pdftex] PDF boxes twice? pdftex bug database

Michael Altmann MichaelAltmann1 at gmx.net
Fri Oct 30 17:42:01 CET 2020


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: ma at aie.de <mailto:ma at aie.de?Subject=Antwort>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pdftex/attachments/20201030/7c7c851c/attachment.html>


More information about the pdftex mailing list.