summaryrefslogtreecommitdiff
path: root/luaotfload-merged.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-26 19:08:30 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-26 19:08:30 +0200
commit76569528866a34fb649611997792d936a283190b (patch)
tree6e0d4cd59d3f503483c7f4d821d6ff34a244ce75 /luaotfload-merged.lua
parent7c283ff361da9c8477e4f1af3798d54371f81100 (diff)
downloadluaotfload-76569528866a34fb649611997792d936a283190b.tar.gz
import from Context as of 2013-04-26
Diffstat (limited to 'luaotfload-merged.lua')
-rw-r--r--luaotfload-merged.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/luaotfload-merged.lua b/luaotfload-merged.lua
index bb89e39..0cf2ce4 100644
--- a/luaotfload-merged.lua
+++ b/luaotfload-merged.lua
@@ -1,6 +1,6 @@
-- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
--- merge date : 04/25/13 18:50:39
+-- merge date : 04/26/13 15:13:48
do -- begin closure to overcome local limits and interference
@@ -7705,7 +7705,7 @@ function injections.handler(head,where,keep)
local w=k[4]
if w then
if rlmode and rlmode>=0 then
- n.xoffset=p.xoffset-p.width+d[1]-x
+ n.xoffset=p.xoffset-p.width+d[1]-(w-x)
else
n.xoffset=p.xoffset-d[1]-x
end
@@ -7745,7 +7745,8 @@ function injections.handler(head,where,keep)
end
if next(wx) then
for n,k in next,wx do
- local x,w=k[2] or 0,k[4]
+ local x=k[2]
+ local w=k[4]
if w then
local rl=k[1]
local wx=w-x