[NTG-pdftex] pdfpagebox

Heiko Oberdiek oberdiek at uni-freiburg.de
Fri Sep 16 02:03:12 CEST 2005


On Fri, Sep 16, 2005 at 01:42:29AM +0200, Heiko Oberdiek wrote:

> On Thu, Sep 15, 2005 at 03:32:41PM +0200, Hans Hagen wrote:
> 
> > usually the numbers returned are directly passed into the special that 
> > dvipdfmx uses for inclusion
> 
> * dvipdfmx: CTAN:dviware/dvipdfmx/README
>   There is a section "6. DVI Specials" and
>   "6.2. Additions to Dvipdfm's pdf: Special",
>   but unhappily both sections are empty.
>   Is there a better source of information?

I found by accident in spc_pdfm.c:

/* Grab page content as follows:
 *
 * Reference point = (x_user, y_user)
 *
 * Case 1. \special{pdf:bxobj @obj width WD height HT depth DP}
 *
 *     Grab the box with the lower-left corner (x_user, y_user-DP)
 *     and the upper right corner (x_user+WD, y_user+HT).
 *
 * Case 2. \special{pdf:bxobj @obj bbox LLX LLY URX, URY}
 *
 *     Grab the box with the lower-left corner (x_user+LLX, y_user+LLY)
 *     and the upper right corner (x_user+URX, y_user+URY).
 *
 * Note that scale, xscale, yscale, xoffset, yoffset options are ignored.
 */

Thus normalization is a good idea.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 


More information about the ntg-pdftex mailing list