diff options
Diffstat (limited to 'tex/context/base/typo-sus.lua')
-rw-r--r-- | tex/context/base/typo-sus.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/typo-sus.lua b/tex/context/base/typo-sus.lua index 0fe8e143a..7dec8cb59 100644 --- a/tex/context/base/typo-sus.lua +++ b/tex/context/base/typo-sus.lua @@ -82,7 +82,7 @@ local function special(n) elseif id == penalty_code then return true elseif id == glue_code then - local width = getfield(getfield(n,"spec"),"width") + local width = getfield(n,"width") return width < threshold elseif id == hlist_code then local width = getfield(n,"width") @@ -117,7 +117,7 @@ local function mark(head,current,id,color) if id == glue_code then -- the glue can have stretch and/or shrink so the rule can overlap with the -- following glyph .. no big deal as that one then sits on top of the rule - local width = getfield(getfield(current,"spec"),"width") + local width = getfield(current,"width") local rule = new_rule(width) local kern = new_kern(-width) head = insert_before(head,current,rule) |