[pdftex] MediaBox?

Martin Schröder ms at artcom-gmbh.de
Thu Jun 14 15:22:45 CEST 2001

On 2001-06-14 12:17:46 +0200, Heiko Oberdiek wrote:
> At 11:05 14.06.2001 +0200, Martin Schröder wrote:
> >Wouldn't it make more sense to use the ArtBox? We are "placing
> >the content of a page in another application" (p. 526f of pdfref
> >1.3), aren't we?
> * /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.

This is o.k. for "interactive" use. It can hit you in the face in
batch use.

> * /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.

Still: If there is an /ArtBox, it (and not the /MediaBox) should
be used.

> * pdfTeX does not know the /ArtBox.

This can be fixed. :-)

Best regards

More information about the pdftex mailing list