From 788487819ccf38a8478cc2afd88e0c0b088d0ec1 Mon Sep 17 00:00:00 2001 From: Context Git Mirror Bot Date: Sat, 26 Mar 2016 13:38:18 +0100 Subject: 2016-03-26 13:07:00 --- tex/context/base/mkiv/typo-rep.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tex/context/base/mkiv/typo-rep.lua') diff --git a/tex/context/base/mkiv/typo-rep.lua b/tex/context/base/mkiv/typo-rep.lua index d95eff68e..a8925a2ce 100644 --- a/tex/context/base/mkiv/typo-rep.lua +++ b/tex/context/base/mkiv/typo-rep.lua @@ -26,7 +26,7 @@ local tonode = nuts.tonode local getnext = nuts.getnext local getchar = nuts.getchar -local getid = nuts.getid +local isglyph = nuts.isglyph local getattr = nuts.getattr @@ -89,11 +89,11 @@ function nodes.handlers.stripping(head) head = tonut(head) local current, done = head, false while current do - if getid(current) == glyph_code then + local char, id = isglyph(current) + if char then -- it's more efficient to keep track of what needs to be kept local todo = getattr(current,a_stripping) if todo == 1 then - local char = getchar(current) local what = glyphs[char] if what then head, current = process(what,head,current,char) -- cgit v1.2.3