diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-08-20 19:19:52 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-08-20 19:19:52 +0200 |
commit | f6e7648f6126ffe087071531f03c674be32930f1 (patch) | |
tree | 2f2346b6d7cc3178c1ea7b3239b603c6f00e3493 /tex/context/base/mkiv/font-nod.lua | |
parent | f72c2cf29d36ae836c894bad29dfd965d1af0236 (diff) | |
download | context-f6e7648f6126ffe087071531f03c674be32930f1.tar.gz |
2019-08-20 17:28:00
Diffstat (limited to 'tex/context/base/mkiv/font-nod.lua')
-rw-r--r-- | tex/context/base/mkiv/font-nod.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/font-nod.lua b/tex/context/base/mkiv/font-nod.lua index a0eb88a25..f359ef04f 100644 --- a/tex/context/base/mkiv/font-nod.lua +++ b/tex/context/base/mkiv/font-nod.lua @@ -56,7 +56,6 @@ local kern_code = nodecodes.kern local dir_code = nodecodes.dir local localpar_code = nodecodes.localpar -local getfield = nuts.getfield local getnext = nuts.getnext local getprev = nuts.getprev local getid = nuts.getid @@ -64,6 +63,7 @@ local getfont = nuts.getfont local getsubtype = nuts.getsubtype local getlist = nuts.getlist local getdisc = nuts.getdisc +local getreplace = nuts.getreplace local isglyph = nuts.isglyph local getkern = nuts.getkern local getdirection = nuts.getdirection @@ -519,7 +519,8 @@ local function toutf(list,result,nofresult,stopcriterium,nostrip) result[nofresult] = f_badcode(c) end elseif id == disc_code then - result, nofresult = toutf(getfield(n,"replace"),result,nofresult,false,true) -- needed? + local replace = getreplace(n) + result, nofresult = toutf(replace,result,nofresult,false,true) -- needed? elseif id == hlist_code or id == vlist_code then -- if nofresult > 0 and result[nofresult] ~= " " then -- nofresult = nofresult + 1 |