summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-otj.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/font-otj.lua')
-rw-r--r--tex/context/base/mkiv/font-otj.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/font-otj.lua b/tex/context/base/mkiv/font-otj.lua
index 657f1a2a6..580a65dde 100644
--- a/tex/context/base/mkiv/font-otj.lua
+++ b/tex/context/base/mkiv/font-otj.lua
@@ -1042,6 +1042,9 @@ local function inject_everything(head,where)
-- kern(w-x) glyph(p) kern(x) mark(n)
ox = px - pn.markx - rightkern
-- report_injections("r2l case 1: %p",ox)
+if not pn.markmark then -- check or not (no longer needed)
+ ox = ox + (pn.leftkern or 0)
+end
else
-- kern(x) glyph(p) kern(w-x) mark(n)
-- ox = px - getwidth(p) + pn.markx - pp.leftkern