diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-10-09 11:15:08 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-10-09 11:15:08 +0200 |
commit | ab4b27ac289969d64e7d788c62f5e30eba58a903 (patch) | |
tree | fdc054af1c6dff3d6a06b1f40a1c9c3721b44d94 /tex/generic/context/luatex/luatex-fonts-inj.lua | |
parent | ee1c809d23ce322e7946f941545f7e0fa27ae5c6 (diff) | |
download | context-ab4b27ac289969d64e7d788c62f5e30eba58a903.tar.gz |
2015-10-09 11:01:00
Diffstat (limited to 'tex/generic/context/luatex/luatex-fonts-inj.lua')
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-inj.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-inj.lua b/tex/generic/context/luatex/luatex-fonts-inj.lua index da1364d9d..36781f72f 100644 --- a/tex/generic/context/luatex/luatex-fonts-inj.lua +++ b/tex/generic/context/luatex/luatex-fonts-inj.lua @@ -462,7 +462,11 @@ local function collect_glyphs(head,offsets) local f = getfont(n) if f ~= nf then nf = f - tm = fontdata[nf].resources.marks -- other hash in ctx + -- other hash in ctx: + tm = fontdata[nf].resources + if tm then + tm = tm.marks + end end if tm and tm[getchar(n)] then nofmarks = nofmarks + 1 |