summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-syn.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-06-27 18:48:11 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-06-27 18:48:11 +0200
commitf8d48a62bd62df77685bd8581c1b8311ae26525f (patch)
tree56d8e9d605c1877d2f1c14b878c962d29d52cc9f /tex/context/base/mkiv/node-syn.lua
parent5c9b859165af46407543b25589ce8852ee079620 (diff)
downloadcontext-f8d48a62bd62df77685bd8581c1b8311ae26525f.tar.gz
2017-06-27 18:10:00
Diffstat (limited to 'tex/context/base/mkiv/node-syn.lua')
-rw-r--r--tex/context/base/mkiv/node-syn.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/node-syn.lua b/tex/context/base/mkiv/node-syn.lua
index 401cd4349..2fdea49c1 100644
--- a/tex/context/base/mkiv/node-syn.lua
+++ b/tex/context/base/mkiv/node-syn.lua
@@ -44,7 +44,6 @@ local getnext = nuts.getnext
local getwhd = nuts.getwhd
local getwidth = nuts.getwidth
local getsubtype = nuts.getsubtype
-local getattr = nuts.getattr
local nodecodes = nodes.nodecodes
local kerncodes = nodes.kerncodes
@@ -70,8 +69,6 @@ local new_hlist = nodepool.hlist
local getdimensions = nuts.dimensions
local getrangedimensions = nuts.rangedimensions
-local a_fontkern = attributes.private("fontkern")
-
local get_synctex_fields = nuts.get_synctex_fields
local set_synctex_fields = nuts.set_synctex_fields
local set_synctex_line = tex.set_synctex_line
@@ -348,7 +345,7 @@ local function collect(head,t,l,dp,ht)
t, l = tc, lc
end
last = current
- elseif id == kern_code and (getsubtype(current) == fontkern_code or getattr(current,a_fontkern)) then
+ elseif id == kern_code and getsubtype(current) == fontkern_code then
local tc, lc = get_synctex_fields(current)
if tc and tc > 0 then
t, l = tc, lc