summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-typ.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-02-17 10:31:56 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-02-17 10:31:56 +0100
commitb14f992ef5f4e868c9959b174278c86516d60dbc (patch)
tree28587bb46c025ea7b0d27ba93f09c93dcf53c73a /tex/context/base/mkiv/node-typ.lua
parent95a1799032dc61dbca4a11e495be34b4397c8fec (diff)
downloadcontext-b14f992ef5f4e868c9959b174278c86516d60dbc.tar.gz
2017-02-17 10:23:00
Diffstat (limited to 'tex/context/base/mkiv/node-typ.lua')
-rw-r--r--tex/context/base/mkiv/node-typ.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/node-typ.lua b/tex/context/base/mkiv/node-typ.lua
index efabe657b..06d0f13c2 100644
--- a/tex/context/base/mkiv/node-typ.lua
+++ b/tex/context/base/mkiv/node-typ.lua
@@ -18,6 +18,7 @@ local tonut = nuts.tonut
local setfield = nuts.setfield
local setlink = nuts.setlink
local setchar = nuts.setchar
+----- setattrlist = nuts.setattrlist
local getfield = nuts.getfield
local getfont = nuts.getfont
@@ -42,7 +43,7 @@ local function tonodes(str,fontid,spacing,templateglyph) -- quick and dirty
if not fontid then
if templateglyph then
fontid = getfont(templateglyph)
- -- attrid = getfield(templateglyph,"attr")
+ -- attrid = setattrlist(templateglyph)
else
fontid = currentfont()
-- attrid = current_attr()
@@ -74,10 +75,10 @@ local function tonodes(str,fontid,spacing,templateglyph) -- quick and dirty
if not next then
-- nothing
elseif not head then
--- setfield(next,"attr",attrid)
+ -- setattrlist(next,attrid)
head = next
else
--- setfield(next,"attr",attrid)
+ -- setattrlist(next,attrid)
setlink(prev,next)
end
prev = next