Switch between horizontal and vertical

This commit is contained in:
Marcel Krüger 2019-07-18 18:12:53 +02:00
parent 0bbab18434
commit fcbad724ed
1 changed files with 2 additions and 2 deletions

View File

@ -5,9 +5,9 @@ local fontdirs = setmetatable({}, {__index=function(t, k)t[k] = pfile:getobj() r
local usedglyphs = {}
token.luacmd("shipout", function()
local voff = node.new'kern'
voff.kern = tex.voffset + pdf.variable.horigin
voff.kern = tex.voffset + pdf.variable.vorigin
voff.next = token.scan_list()
voff.next.shift = tex.hoffset + pdf.variable.vorigin
voff.next.shift = tex.hoffset + pdf.variable.horigin
local list = node.vpack(voff)
list.height = tex.pageheight
list.width = tex.pagewidth