[pdftex] MediaBox?

Peter Schröder ps at cs.caltech.edu
Thu Jun 14 10:26:42 CEST 2001


Heiko Oberdiek wrote:

> * /MediaBox is known in all PDF versions and is required.
>   Why to use funny values? With translation and size of
>   the BoundingBox the user can load the file in a pdf viewer
>   and check, whether it is correct.
> * /ArtBox is optional and a PDF-1.3 feature. The default
>   is the value of the CropBox, whose default is the value
>   of the MediaBox. With the correct (see above) MediaBox
>   adding the ArtBox with the same values would be a waste,
>   it is already implicitly given.
> * pdfTeX does not know the /ArtBox.

The ArtBox in my example is exactly correct, i.e., it is the bounding
box of the artwork itself. Incidentally Illustrator's internal save
format really seems to be postscript because after that initial pdf
stuff there is a long section of what looks like plain postscript and
sure enough it has %%BoundingBox in there and it is correct and it has
the same values as ArtBox.

Peter




More information about the pdftex mailing list