summaryrefslogtreecommitdiff
path: root/tex/context/base/font-otn.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-01-27 21:24:00 +0100
committerHans Hagen <pragma@wxs.nl>2013-01-27 21:24:00 +0100
commitfa502d65e5e502ef6a26eeb246267ced520ed139 (patch)
tree01a1ec7a640311bf0af1ae1996675cae04000810 /tex/context/base/font-otn.lua
parent33fc570519a96f61b586ade8e4833326caaeaf7a (diff)
downloadcontext-fa502d65e5e502ef6a26eeb246267ced520ed139.tar.gz
beta 2013.01.27 21:24
Diffstat (limited to 'tex/context/base/font-otn.lua')
-rw-r--r--tex/context/base/font-otn.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/tex/context/base/font-otn.lua b/tex/context/base/font-otn.lua
index 47d830f35..5cf1423ea 100644
--- a/tex/context/base/font-otn.lua
+++ b/tex/context/base/font-otn.lua
@@ -2162,12 +2162,12 @@ local function featuresprocessor(head,font,attr)
if lookupcache then
local lookupmatch = lookupcache[start.char]
if lookupmatch then
- local headnode = start == head
+ -- local headnode = start == head
start, success = handler(start,dataset[4],lookupname,lookupmatch,sequence,lookuphash,i)
if success then
- if headnode then
- head = start
- end
+ -- if headnode then
+ -- head = start
+ -- end
break
end
end
@@ -2211,14 +2211,14 @@ local function featuresprocessor(head,font,attr)
local lookupmatch = lookupcache[start.char]
if lookupmatch then
-- sequence kan weg
- local headnode = start == head
+ -- local headnode = start == head
local ok
start, ok = handler(start,dataset[4],lookupname,lookupmatch,sequence,lookuphash,1)
if ok then
success = true
- if headnode then
- head = start
- end
+ -- if headnode then
+ -- head = start
+ -- end
end
end
if start then start = start.next end
@@ -2288,14 +2288,14 @@ local function featuresprocessor(head,font,attr)
local lookupmatch = lookupcache[start.char]
if lookupmatch then
-- we could move all code inline but that makes things even more unreadable
- local headnode = start == head
+ -- local headnode = start == head
local ok
start, ok = handler(start,dataset[4],lookupname,lookupmatch,sequence,lookuphash,i)
if ok then
success = true
- if headnode then
- head = start
- end
+ -- if headnode then
+ -- head = start
+ -- end
break
end
end