summaryrefslogtreecommitdiff
path: root/tex/context/base/font-otn.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-01-27 22:40:36 +0200
committerMarius <mariausol@gmail.com>2013-01-27 22:40:36 +0200
commit11315fc4ef7dc87885f46bf875540da27dd7fa5d (patch)
treecfec2a69d5a6370dff6015a1b3d34dd2b5d13acd /tex/context/base/font-otn.lua
parentb2630c4b37ae895cde00ff9468ca7488998c88df (diff)
downloadcontext-11315fc4ef7dc87885f46bf875540da27dd7fa5d.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