diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-10-22 11:01:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-10-22 11:01:00 +0200 |
commit | fa5d61b7a7ea2f3cc57cac68355eb95ebc3db0ba (patch) | |
tree | 6a58acd2f179d1adaf05fef35f7dca4dcd56ceb3 /tex/context/base/font-otn.lua | |
parent | 7669c544a236c85d93bc2eba8fab2a0537d9e4bc (diff) | |
download | context-fa5d61b7a7ea2f3cc57cac68355eb95ebc3db0ba.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 |