summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-04-26 15:13:00 +0200
committerHans Hagen <pragma@wxs.nl>2013-04-26 15:13:00 +0200
commit9a215b83b9b1ba7d2389ae324e838ae145d9d7da (patch)
treef41adc1563f5253ba4d8b9940be41ee76995ee13 /tex/generic
parentc34c2f8a578e27af9b715aa0ccf48c7e365ab1e5 (diff)
downloadcontext-9a215b83b9b1ba7d2389ae324e838ae145d9d7da.tar.gz
beta 2013.04.26 15:13
Diffstat (limited to 'tex/generic')
-rw-r--r--tex/generic/context/luatex/luatex-fonts-merged.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua
index bb89e3902..0cf2ce466 100644
--- a/tex/generic/context/luatex/luatex-fonts-merged.lua
+++ b/tex/generic/context/luatex/luatex-fonts-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