From b14f992ef5f4e868c9959b174278c86516d60dbc Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 17 Feb 2017 10:31:56 +0100 Subject: 2017-02-17 10:23:00 --- tex/context/base/mkiv/node-typ.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tex/context/base/mkiv/node-typ.lua') 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 -- cgit v1.2.3