diff options
author | Hans Hagen <pragma@wxs.nl> | 2014-04-07 13:00:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2014-04-07 13:00:00 +0200 |
commit | 6dca72547df41111bbe7d2bdfc1d297547b16c67 (patch) | |
tree | d8720c2bac55e68d9cefe8b858fdc78cf5bbff47 /tex/context/base/trac-vis.lua | |
parent | 94624fa8edb58a31e8e2999570ab392f346607da (diff) | |
download | context-6dca72547df41111bbe7d2bdfc1d297547b16c67.tar.gz |
beta 2014.04.07 13:00
Diffstat (limited to 'tex/context/base/trac-vis.lua')
-rw-r--r-- | tex/context/base/trac-vis.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/base/trac-vis.lua b/tex/context/base/trac-vis.lua index 7460955eb..7e2413051 100644 --- a/tex/context/base/trac-vis.lua +++ b/tex/context/base/trac-vis.lua @@ -98,8 +98,10 @@ local unsetvalue = attributes.unsetvalue local current_font = font.current -local exheights = fonts.hashes.exheights -local emwidths = fonts.hashes.emwidths +local fonthashes = fonts.hashes +local chardata = fonthashes.characters +local exheights = fonthashes.exheights +local emwidths = fonthashes.emwidths local pt_factor = number.dimenfactors.pt local nodepool = nuts.pool @@ -538,6 +540,7 @@ end local function ruledglyph(head,current,previous) local wd = getfield(current,"width") + -- local wd = chardata[getfield(current,"font")][getfield(current,"char")].width if wd ~= 0 then local ht = getfield(current,"height") local dp = getfield(current,"depth") |