Switch between horizontal and vertical
This commit is contained in:
parent
0bbab18434
commit
fcbad724ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user