diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-05-10 11:26:20 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-05-10 11:26:20 +0200 |
commit | fdc4bdf67540ac0b5194641a552903faf9aef3a9 (patch) | |
tree | 2ba7c74480cf68e70bdc6e7105b70baf7f2049c5 /tex/context/base/mkiv/font-otj.lua | |
parent | 2498bbe606e7cca22799e33dc29ae5160693b3d8 (diff) | |
download | context-fdc4bdf67540ac0b5194641a552903faf9aef3a9.tar.gz |
2017-05-10 10:48:00
Diffstat (limited to 'tex/context/base/mkiv/font-otj.lua')
-rw-r--r-- | tex/context/base/mkiv/font-otj.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/font-otj.lua b/tex/context/base/mkiv/font-otj.lua index fb526ecbb..634f8a83c 100644 --- a/tex/context/base/mkiv/font-otj.lua +++ b/tex/context/base/mkiv/font-otj.lua @@ -1021,7 +1021,7 @@ local function inject_everything(head,where) -- end if pn.checkmark then local wn = getwidth(n) -- in arial marks have widths - if wn ~= 0 then + if wn and wn ~= 0 then wn = wn/2 if trace_injections then report_injections("correcting non zero width mark %C",getchar(n)) @@ -1228,7 +1228,7 @@ local function inject_everything(head,where) if hasmarks then local pm = i.markbasenode if pm then - processmark(pm,current,i) + processmark(pm,n,i) end end end @@ -1260,7 +1260,7 @@ local function inject_everything(head,where) if hasmarks then local pm = i.markbasenode if pm then - processmark(pm,current,i) + processmark(pm,n,i) end end end @@ -1292,7 +1292,7 @@ local function inject_everything(head,where) if hasmarks then local pm = i.markbasenode if pm then - processmark(pm,current,i) + processmark(pm,n,i) end end end |