summaryrefslogtreecommitdiff
path: root/tex/context/base/font-otn.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-03-16 03:00:15 +0200
committerMarius <mariausol@gmail.com>2013-03-16 03:00:15 +0200
commit239fc2639fd42f6ad1c44bb256ae2f98ed164b45 (patch)
treedbd236ed4443bc27eefa2cdfc4a8890b89e2343a /tex/context/base/font-otn.lua
parent792b2ca2d206c2c90cc9967a8ae4916f53f902d7 (diff)
downloadcontext-239fc2639fd42f6ad1c44bb256ae2f98ed164b45.tar.gz
beta 2013.03.16 01:51
Diffstat (limited to 'tex/context/base/font-otn.lua')
-rw-r--r--tex/context/base/font-otn.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/font-otn.lua b/tex/context/base/font-otn.lua
index 72216f9db..3b0e44e17 100644
--- a/tex/context/base/font-otn.lua
+++ b/tex/context/base/font-otn.lua
@@ -575,10 +575,10 @@ function handlers.gsub_ligature(head,start,kind,lookupname,ligature,sequence)
if lig then
if trace_ligatures then
local stopchar = stop.char
- head, start = markstoligature(kind,lookupname,start,stop,lig)
+ head, start = markstoligature(kind,lookupname,head,start,stop,lig)
logprocess("%s: replacing %s upto %s by ligature %s case 1",pref(kind,lookupname),gref(startchar),gref(stopchar),gref(start.char))
else
- head, start = markstoligature(kind,lookupname,start,stop,lig)
+ head, start = markstoligature(kind,lookupname,head,start,stop,lig)
end
return head, start, true
else