summaryrefslogtreecommitdiff
path: root/tex/context/base/font-otn.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-10-04 20:15:06 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-10-04 20:15:06 +0200
commitd81d584da5152af05c07f7842054a926aae20e10 (patch)
tree9e15be94f1f8d05cccdbd575d4d5f0bac8cad221 /tex/context/base/font-otn.lua
parentc9ac836b7b44d49c623ad8052639ca7beeaf1311 (diff)
downloadcontext-d81d584da5152af05c07f7842054a926aae20e10.tar.gz
2015-10-04 19:27:00
Diffstat (limited to 'tex/context/base/font-otn.lua')
-rw-r--r--tex/context/base/font-otn.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/font-otn.lua b/tex/context/base/font-otn.lua
index 8066b0f08..1b99c56de 100644
--- a/tex/context/base/font-otn.lua
+++ b/tex/context/base/font-otn.lua
@@ -553,7 +553,7 @@ local function toligature(kind,lookupname,head,start,stop,char,markflag,discfoun
resetinjection(base)
setfield(base,"char",char)
setfield(base,"subtype",ligature_code)
- setfield(base,"components",comp) -- start can have components .. do we need to flush?
+ setfield(base,"components",comp) -- start can have components ... do we need to flush?
if prev then
setfield(prev,"next",base)
end
@@ -3334,7 +3334,7 @@ local function featuresprocessor(head,font,attr)
rlmode = -1
elseif dir == "-TLT" or dir == "-TRT" then
topstack = topstack - 1
- rlmode = dirstack[topstack] == "+TLT" and 1 or -1
+ rlmode = dirstack[topstack] == "+TRT" and -1 or 1
else
rlmode = rlparmode
end
@@ -3606,7 +3606,7 @@ local function featuresprocessor(head,font,attr)
rlmode = -1
elseif dir == "-TLT" or dir == "-TRT" then
topstack = topstack - 1
- rlmode = dirstack[topstack] == "+TLT" and 1 or -1
+ rlmode = dirstack[topstack] == "+TRT" and -1 or 1
else
rlmode = rlparmode
end