diff options
| author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-03-26 13:38:18 +0100 | 
|---|---|---|
| committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-03-26 13:38:18 +0100 | 
| commit | 788487819ccf38a8478cc2afd88e0c0b088d0ec1 (patch) | |
| tree | 215addbe3b9e293c2958227e7fc8923880b2e71f /tex/context/base/mkiv/node-pro.lua | |
| parent | adfe72d5a0c9d7bdc1bd7bc8faabb4d05e21d70a (diff) | |
| download | context-788487819ccf38a8478cc2afd88e0c0b088d0ec1.tar.gz | |
2016-03-26 13:07:00
Diffstat (limited to 'tex/context/base/mkiv/node-pro.lua')
| -rw-r--r-- | tex/context/base/mkiv/node-pro.lua | 9 | 
1 files changed, 4 insertions, 5 deletions
diff --git a/tex/context/base/mkiv/node-pro.lua b/tex/context/base/mkiv/node-pro.lua index d6a8e9fe3..36670eed2 100644 --- a/tex/context/base/mkiv/node-pro.lua +++ b/tex/context/base/mkiv/node-pro.lua @@ -35,8 +35,7 @@ local actions = tasks.actions("processors")  do      local tonut   = nuts.tonut -    local getid   = nuts.getid -    local getchar = nuts.getchar +    local isglyph = nuts.isglyph      local getnext = nuts.getnext      local n = 0 @@ -45,9 +44,9 @@ do          local t, n, h = { }, 0, tonut(head)          while h do              n = n + 1 -            local id = getid(h) -            if id == glyph_code then -- todo: disc etc -                t[n] = utfchar(getchar(h)) +            local char, id = isglyph(h) +            if char then -- todo: disc etc +                t[n] = utfchar(char)              else                  t[n] = "[]"              end  | 
