diff options
author | Marius <mariausol@gmail.com> | 2012-10-22 12:40:15 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-10-22 12:40:15 +0300 |
commit | 0cc0c31e0b76c86fecd7314cbcdc853df964046a (patch) | |
tree | edf447a4968749c963f39fd14641c6de99b6e790 /tex/context/base/font-otn.lua | |
parent | bd1d54f72a77a9a9b6efa8ca635c3e4e2fa45cd3 (diff) | |
download | context-0cc0c31e0b76c86fecd7314cbcdc853df964046a.tar.gz |
beta 2012.10.22 11:01
Diffstat (limited to 'tex/context/base/font-otn.lua')
-rw-r--r-- | tex/context/base/font-otn.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tex/context/base/font-otn.lua b/tex/context/base/font-otn.lua index 6e465ece9..71027d731 100644 --- a/tex/context/base/font-otn.lua +++ b/tex/context/base/font-otn.lua @@ -388,21 +388,21 @@ end -- third component. local function getcomponentindex(start) - if start.id ~= glyph_code then + if start.id ~= glyph_code then return 0 - elseif start.subtype == ligature_code then + elseif start.subtype == ligature_code then local i = 0 - local components = start.components - while components do - i = i + getcomponentindex(components) - components = components.next - end - return i + local components = start.components + while components do + i = i + getcomponentindex(components) + components = components.next + end + return i elseif not marks[start.char] then return 1 else return 0 - end + end end -- local function toligature(kind,lookupname,start,stop,char,markflag,discfound) -- brr head |