diff options
Diffstat (limited to 'tex/context/base/mkiv/typo-sus.lua')
-rw-r--r-- | tex/context/base/mkiv/typo-sus.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/typo-sus.lua b/tex/context/base/mkiv/typo-sus.lua index ce1933330..d3526bb5d 100644 --- a/tex/context/base/mkiv/typo-sus.lua +++ b/tex/context/base/mkiv/typo-sus.lua @@ -132,9 +132,9 @@ local function mark(head,current,id,color) -- head = insert_before(head,current,kern) -- setcolor(rule,color) else - local width = getfield(current,"width") + local width, height, depth = getWhd(current) local extra = fonts.hashes.xheights[getfont(current)] / 2 - local rule = new_rule(width,getfield(current,"height")+extra,getfield(current,"depth")+extra) + local rule = new_rule(width,height+extra,depth+extra) local hlist = new_hlist(rule) head = insert_before(head,current,hlist) setcolor(rule,color) |