On 11/23/2015 1:00 PM, Patrick Gundlach wrote:
and feed it with exactly the same node list in both versions of LuaTeX. While 
version 0.79 looks OK, the contents in 0.85 is placed outside the media box of 
the PDF.

did you set the h and vorigins right?

probably not. I used to have tex.v/hoffset to -1in and tex.pdfv/horigin not 
set. But now I have only

   tex.pdfhorigin    = tex.sp("0mm")
   tex.pdfvorigin    = tex.pdfhorigin

and everything seems to work fine with 0.79 and 0.85

this 1 in offset has always been an issue in the backend

anyway 0.86 will have this:

pdf.setorigin() -- zero

pdf.setorigin(tex.sp("1in")) -- h = v = 1in

pdf.setorigin(tex.sp("1in"),tex.sp("2in"))

for now set it at the tex end.

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

Reply via email to