summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-scn.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-03-15 16:04:31 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2018-03-15 16:04:31 +0100
commita4e07f30e880ab27c2918f81f136e257475b7729 (patch)
tree02db002d3001a49777a049f9a98fdc872a5e1ad1 /tex/context/base/mkiv/node-scn.lua
parentcbc37c39432e0ebe38e0922fc6d14c2955ab3ba2 (diff)
downloadcontext-a4e07f30e880ab27c2918f81f136e257475b7729.tar.gz
2018-03-15 15:36:00
Diffstat (limited to 'tex/context/base/mkiv/node-scn.lua')
-rw-r--r--tex/context/base/mkiv/node-scn.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/node-scn.lua b/tex/context/base/mkiv/node-scn.lua
index 67a0badec..b294b3013 100644
--- a/tex/context/base/mkiv/node-scn.lua
+++ b/tex/context/base/mkiv/node-scn.lua
@@ -48,14 +48,13 @@ local spaceskip_code = gluecodes.spaceskip
local xspaceskip_code = gluecodes.xspaceskip
local leader_code = gluecodes.leaders
-local kerning_code = kerncodes.kern
+local fontkern_code = kerncodes.fontkern
local variables = interfaces.variables
local privateattributes = attributes.private
local a_runningtext = privateattributes('runningtext')
-local a_fontkern = privateattributes('fontkern')
local v_yes = variables.yes
local v_all = variables.all
@@ -173,7 +172,7 @@ local function processwords(attribute,data,flush,head,parent,skip) -- we have hl
if f then
l = n
end
- elseif id == kern_code and (getsubtype(n) == kerning_code or getattr(n,a_fontkern)) then
+ elseif id == kern_code and getsubtype(n) == fontkern_code then
if f then
l = n
end
@@ -276,7 +275,7 @@ local function processranges(attribute,flush,head,parent,depth,skip)
else
-- weird
end
- elseif id == kern_code and (getsubtype(n) == kerning_code or getattr(n,a_fontkern)) then
+ elseif id == kern_code and getsubtype(n) == fontkern_code then
if f then
l = n
end