diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-02 23:15:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-02 23:15:16 +0000 |
commit | e8013daa16d9bb147c8a6f2f8e8199b31e9d1e97 (patch) | |
tree | f1789a43b5d494d9d598a04e9b952fb654098fb6 /Master/texmf-dist/tex/context | |
parent | 591276107d759bf5d19af3eadd5675fdedfb8ec8 (diff) |
different fix from hans
git-svn-id: svn://tug.org/texlive/trunk@70360 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/font-oup.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/font-oup.lua b/Master/texmf-dist/tex/context/base/mkiv/font-oup.lua index 049cc0743fe..f4acdb01e37 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/font-oup.lua +++ b/Master/texmf-dist/tex/context/base/mkiv/font-oup.lua @@ -11,6 +11,7 @@ local P, R, S = lpeg.P, lpeg.R, lpeg.S local lpegmatch = lpeg.match local insert, remove, copy, unpack = table.insert, table.remove, table.copy, table.unpack local find = string.find +local idiv = number.idiv local formatters = string.formatters local sortedkeys = table.sortedkeys @@ -761,7 +762,7 @@ local function checklookups(fontdata,missing,nofmissing) end end if parts then - parts[#parts/2+1].unicode = unicode + parts[idiv(#parts,2)+1].unicode = unicode end end end |