diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-07-25 18:52:11 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-07-25 18:52:11 +0200 |
commit | e5255a951b23372f4f0ad58b9afc38ba3929becf (patch) | |
tree | 19c95f179d751c6ef0f0cfe72f7a9c7412bfda52 /tex/context/base/mkiv/trac-vis.lua | |
parent | c08e48de0220ab08d38693848de9bc51ed8e7d50 (diff) | |
download | context-e5255a951b23372f4f0ad58b9afc38ba3929becf.tar.gz |
2016-07-25 17:45:00
Diffstat (limited to 'tex/context/base/mkiv/trac-vis.lua')
-rw-r--r-- | tex/context/base/mkiv/trac-vis.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/trac-vis.lua b/tex/context/base/mkiv/trac-vis.lua index 93e6af7c2..bffb1807c 100644 --- a/tex/context/base/mkiv/trac-vis.lua +++ b/tex/context/base/mkiv/trac-vis.lua @@ -565,21 +565,21 @@ local function ruledbox(head,current,vertical,layer,what,simple,previous,trace_o setattr(info,a_layer,layer) if vertical then if shift == 0 then - info = linked_nodes(current,info) + info = linked_nodes(current,dp ~= 0 and new_kern(-dp) or nil,info) elseif trace_origin then local size = 2*size local origin = o_cache[size] origin = copy_list(origin) if getid(parent) == vlist_code then setfield(origin,"shift",-shift) - info = linked_nodes(current,new_kern(-size),origin,new_kern(-size),info) + info = linked_nodes(current,new_kern(-size),origin,new_kern(-size-dp),info) else -- todo .. i need an example - info = linked_nodes(current,info) + info = linked_nodes(current,dp ~= 0 and new_kern(-dp) or nil,info) end setfield(current,"shift",0) else - info = linked_nodes(current,info) + info = linked_nodes(current,new_dp ~= 0 and new_kern(-dp) or nil,info) setfield(current,"shift",0) end info = new_vlist(info,wd,ht,dp,shift) |