diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-06-27 18:48:11 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-06-27 18:48:11 +0200 |
commit | f8d48a62bd62df77685bd8581c1b8311ae26525f (patch) | |
tree | 56d8e9d605c1877d2f1c14b878c962d29d52cc9f /tex/context/base/mkiv/node-scn.lua | |
parent | 5c9b859165af46407543b25589ce8852ee079620 (diff) | |
download | context-f8d48a62bd62df77685bd8581c1b8311ae26525f.tar.gz |
2017-06-27 18:10:00
Diffstat (limited to 'tex/context/base/mkiv/node-scn.lua')
-rw-r--r-- | tex/context/base/mkiv/node-scn.lua | 7 |
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 |